

n = int(eval(input()))

a = 1

ans = 0



while a ** 2 <= n:

    ans = a ** 2

    a += 1



print(ans)



n = int(eval(input()))

x = 1



while x ** 2 <= n:

    x += 1

print(((x-1) ** 2))

n = int(eval(input()))
a = 1
ans = 0
while a**2 <= n:
    ans = a**2
    a += 1
print(ans)

n = int(eval(input()))
x = 1
while x**2 <= n:
    x += 1
print(((x - 1) ** 2))

-a = 1 -ans = 0 -while a**2 <= n: -    ans = a**2 -    a += 1 -print(ans) +x = 1 +while x**2 <= n: +    x += 1 +print(((x - 1) ** 2))