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