#204. 石子游戏
石子游戏
Background
Special for beginners, ^_^
Description
有两堆石子,第一堆有x个石子,第二堆有y个。 A和B在玩游戏,A先手,两人轮流。 每次可以从一堆里面取至少一个石子,谁取到最后一颗石子谁就胜利。 两人决顶聪明,问最后谁赢。
Format
Input
两个正整数 x 和 y
Output
One integer, the sum of x and y.
Samples
1 2
A
3 3
B
Limitation
Related
In following contests: