n = int(eval(input()))

i = 1

while i * i <= n:

    i += 1

print(((i - 1) * (i - 1)))
import math

n=int(eval(input()))

a=int(math.sqrt(n))

print((a*a))
n = int(eval(input()))
i = 1
while i * i <= n:
    i += 1
print(((i - 1) * (i - 1)))

import math

n = int(eval(input()))
a = int(math.sqrt(n))
print((a * a))

+import math + -i = 1 -while i * i <= n: -    i += 1 -print(((i - 1) * (i - 1))) +a = int(math.sqrt(n)) +print((a * a))