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