import sys input = sys.stdin.readline N = int(input()) x = N//2 y = N-x if x%4==0 and y%4==0: print("Yes") else: print("No")