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