N = int(input()) if N%2: print("NO") else: print("YES")