import math n = int(input()) if math.sqrt(n).is_integer(): print('Yes') else: print('No')