from math import sqrt n = int(input()) if str(sqrt(n)).endswith(".0"): print("Yes") else: print("No")