#ABC062A. [ABC062A] Grouping

[ABC062A] Grouping

提示:该题测试数据补录中,暂不支持评测提交。

No testdata at current.

No submission language available for this problem.

Score : 100100 points

Problem Statement

Based on some criterion, Snuke divided the integers from 11 through 1212 into three groups as shown in the figure below. Given two integers xx and yy (1≤x<y≤121 \leq x < y \leq 12), determine whether they belong to the same group.

b4ab979900ed647703389d4349eb84ee.png

Constraints

  • xx and yy are integers.
  • 1≤x<y≤121 \leq x < y \leq 12

Input

Input is given from Standard Input in the following format:

xx yy

Output

If xx and yy belong to the same group, print Yes; otherwise, print No.

1 3
Yes
2 4
No