100 atcoder#ABC062A. [ABC062A] Grouping

[ABC062A] Grouping

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 (1x<y121 \leq x < y \leq 12), determine whether they belong to the same group.

b4ab979900ed647703389d4349eb84ee.png

Constraints

  • xx and yy are integers.
  • 1x<y121 \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