Type: Default 1000ms 256MiB

石子游戏

You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.

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

初一期中考

Not Attended
Status
Done
Rule
IOI
Problem
10
Start at
2023-4-17 8:45
End at
2023-4-17 18:45
Duration
10 hour(s)
Host
Partic.
114