print(0) N = int(input()) if N == 2 or N % 2 == 1: print("Yes") else: print("No")