2783: Georgia and Bob
Description
Desc
Georgia and Bob move the chessmen in turn. Every time a pla
Georgia always plays first since "Lady first". Suppose that Georgia and Bob both do their best in the game, i.e., if one of them knows a way to win the game, he or she will be able to carry it out.
Given the initial positions of the n chessmen, can you predict who will finally win the game?
Input
Output
Sample Input Copy
2
3
1 2 3
8
1 5 6 7 9 12 14 17
Sample Output Copy
Bob will win
Georgia will win