#abc062a. [abc062_a]Grouping
[abc062_a]Grouping
Problem Statement
Based on some criterion, Snuke divided the integers from through into three groups as shown in the figure below. Given two integers and (), determine whether they belong to the same group.
Constraints
- and are integers.
Input
Input is given from Standard Input in the following format:
Output
If and belong to the same group, print Yes
; otherwise, print No
.
Sample Input 1
1 3
Sample Output 1
Yes
Sample Input 2
2 4
Sample Output 2
No