# input N = int(input()) M = 1 mod = 2**(N+1) - 1 for i in range(2,N+1): M *= 2**i - 1 # output if M % mod == 0: print('Yes') else: print('No')