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