P = int(input()) if P % 4 == 3: print("No") else: print("Yes")