N = int(eval(input()))

i = 1

while i*i <= N:

    i += 1

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

N = int(eval(input()))

 

a = math.sqrt(N)

a = int(a)

 

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 = math.sqrt(N)
a = int(a)
print((a * a))

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