AtCoDeer the deer has found two positive integers, a and b. Determine whether the concatenation of a and b in this order is a square number.
s = int(input().replace(' ', ''))
print('Yes') if int(s ** 0.5 ** 2) == s else print('No')
a, b = map(int, input().split())

L = []
for i in range(318):
	L.append(i**2)

n = a * 10 ** len(str(b))+ b
if n in L:
	print('Yes')
else:
	print('No')
