def can_win(n): if n % 4 == 0: return False return True n = int(input()) if can_win(n): print("Yes") else: print("No")