import numpy as np

n = np.sqrt(int(''.join(input().split())))

print(('Yes' if n == int(n) else 'No'))
from math import sqrt

a, b = input().split()

n = int(a+b)

print(('Yes' if sqrt(n) == int(sqrt(n)) else 'No'))

import numpy as np

n = np.sqrt(int("".join(input().split())))
print(("Yes" if n == int(n) else "No"))

from math import sqrt

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

-import numpy as np +from math import sqrt -n = np.sqrt(int("".join(input().split()))) -print(("Yes" if n == int(n) else "No")) +a, b = input().split() +n = int(a + b) +print(("Yes" if sqrt(n) == int(sqrt(n)) else "No"))