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