A = input() B = int(A) C = B % 4 D = B % 2 if C == 1: if D == 1: print("No") else: print("Yes") else: if D == 0: print("Yes") else: print("No")