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