n=int(input()) c = 1 while c**2 < n: print(c**2) c += 1