import math

n = int(eval(input()))

while(n>0):

  r = int(math.sqrt(n))

  if(r*r == n):

    print(n)

    exit()

  else:

    n-=1
n=int(eval(input()))

import math

print((pow(int(math.sqrt(n)),2)))
import math

n = int(eval(input()))
while n > 0:
    r = int(math.sqrt(n))
    if r * r == n:
        print(n)
        exit()
    else:
        n -= 1

n = int(eval(input()))
import math

print((pow(int(math.sqrt(n)), 2)))

+n = int(eval(input())) -n = int(eval(input())) -while n > 0: -    r = int(math.sqrt(n)) -    if r * r == n: -        print(n) -        exit() -    else: -        n -= 1 +print((pow(int(math.sqrt(n)), 2)))