import numpy as np

a,b = input().split()

n = np.sqrt(int(a+b))

if n.is_integer() == True:

    print('Yes')

else:

    print('No')
a,b = input().split()

n = int(a+b)**0.5

if n.is_integer() == True:

    print('Yes')

else:

    print('No')
import numpy as np

a, b = input().split()
n = np.sqrt(int(a + b))
if n.is_integer() == True:
    print("Yes")
else:
    print("No")

a, b = input().split()
n = int(a + b) ** 0.5
if n.is_integer() == True:
    print("Yes")
else:
    print("No")

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