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