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