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