ZOJ Problem Set - 2725
Digital deletions is a two-player game. The rule of the game is as following.
Now, given a initial string, try to determine can the first player win if the two players play optimally both.
The input consists of several test cases. For each case, there is a string in one line.
The length of string will be in the range of [1,6]. The string contains only digit characters.
Proceed to the end of file.
Output Yes in a line if the first player can win the game, otherwise output No.
0 00 1 20
Yes Yes No No
Author: ZHENG, Jianqiang
Source: Zhejiang University Local Contest 2006, Preliminary