import numpy as np



a = int(input().replace(" ", ""))



b = np.sqrt(a)

c = b - int(b)



if c == 0.0:

    print("Yes")

else:

    print("No")



a = int(input().replace(" ", ""))



b = a**0.5

c = b - int(b)



if c == 0.0:

    print("Yes")

else:

    print("No")



import numpy as np

a = int(input().replace(" ", ""))
b = np.sqrt(a)
c = b - int(b)
if c == 0.0:
    print("Yes")
else:
    print("No")

a = int(input().replace(" ", ""))
b = a**0.5
c = b - int(b)
if c == 0.0:
    print("Yes")
else:
    print("No")

-import numpy as np - -b = np.sqrt(a) +b = a**0.5