n = int(eval(input()))

count = 1

while True:

    if count**2 <= n and n < (count+1)**2:

        print((count**2))

        break

    else:

        count += 1
n = int(eval(input()))



if n == 1:

    print((1))



for i in range(1,n+1):

    if i**2>n:

        print(((i-1)**2))

        break

n = int(eval(input()))
count = 1
while True:
    if count**2 <= n and n < (count + 1) ** 2:
        print((count**2))
        break
    else:
        count += 1

n = int(eval(input()))
if n == 1:
    print((1))
for i in range(1, n + 1):
    if i**2 > n:
        print(((i - 1) ** 2))
        break

-count = 1 -while True: -    if count**2 <= n and n < (count + 1) ** 2: -        print((count**2)) +if n == 1: +    print((1)) +for i in range(1, n + 1): +    if i**2 > n: +        print(((i - 1) ** 2)) -    else: -        count += 1