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