n = int(input()) i = 2 while(i * i <= n): if n % i == 0: print('Yes') exit() i += 1 print('No')