import math
a = int(input())
b = int(input())
for i in range(a, b + 1):
    sqrt = math.sqrt(i)
    if sqrt % 1 == 0:
        print(i)

e3f5c5c56b817fc3d0429efdb276a865ac84804b
<mask token>

<mask token>
for i in range(a, b + 1):
    sqrt = math.sqrt(i)
    if sqrt % 1 == 0:
        print(i)

<mask token>
a = int(input())
b = int(input())
for i in range(a, b + 1):
    sqrt = math.sqrt(i)
    if sqrt % 1 == 0:
        print(i)

import math
a = int(input())
b = int(input())
for i in range(a, b + 1):
    sqrt = math.sqrt(i)
    if sqrt % 1 == 0:
        print(i)
