import numpy as np



a, b = list(map(str,input().split()))



target = int(a + b)

target_full = np.sqrt(target)

target_resid = target_full % 1



if target_resid == 0:

  print("Yes")

else:

  print("No")

  
a, b = list(map(str,input().split()))

target = int(a + b)



if (target ** 0.5).is_integer():

  print("Yes")

else:

  print("No")

  
import numpy as np

a, b = list(map(str, input().split()))
target = int(a + b)
target_full = np.sqrt(target)
target_resid = target_full % 1
if target_resid == 0:
    print("Yes")
else:
    print("No")

a, b = list(map(str, input().split()))
target = int(a + b)
if (target**0.5).is_integer():
    print("Yes")
else:
    print("No")

-import numpy as np - -target_full = np.sqrt(target) -target_resid = target_full % 1 -if target_resid == 0: +if (target**0.5).is_integer():