#1169. 巴什博弈

巴什博弈

当前没有测试数据。

Background

Special for beginners, ^_^

Description

有一个长为n,宽为1的空白棋盘,Alice和Bob轮流下棋,Alice先手。 每一手,选手可以选择连续空白长度不大于3的位置,将这些位置都放上一枚棋子,最先不能操作的人输掉比赛。

如果双方都采取最优策略,是否是先手必胜的? 如果是,输出"YES";否则,输出"NO"。

Format

Input

Two integers x and y, satisfying 0x,y327670\leq x,y\leq 32767 .

Output

One integer, the sum of x and y.

Samples

1
YES

Limitation

1s, 1024KiB for each test case.