Max has given you a game to play. In this game, you have
Before playing, you would like to determine whether it is even possible to finish the game.
Input Specification
The first line will contain the integer
Output Specification
Output Yes
if it is possible to finish the game. Otherwise, output No
.
Constraints
Sample Input 1
Copy
2
Sample Output 1
Copy
No
Explanation 1
The only possible move is to take
Sample Input 2
Copy
4
Sample Output 2
Copy
Yes
Explanation 2
Note that this is not the only way to end the game.
Comments