N = int(input()) for i in range(10**9+1): if i**2 == N: print("Yes") break else: print("No")