n=int(input()) if n==2: print('YES') print('NO') else: for _ in range(n): print('NO')