AtCoder Beginner Contest 062
翻译中…
Problem Statement
翻译中…
Based on some criterion, Snuke divided the integers from $1$ through $12$ into three groups as shown in the figure below. Given two integers $x$ and $y$ ($1 ≤ x < y ≤ 12$), determine whether they belong to the same group.
翻译中…

翻译中…
Constraints
翻译中…
$x$and$y$are integers.$1 ≤ x < y ≤ 12$
翻译中…
Input
翻译中…
Input is given from Standard Input in the following format:
翻译中…
x y
翻译中…
Output
翻译中…
If $x$ and $y$ belong to the same group, print Yes; otherwise, print No.
翻译中…
样例
Input #1
1 3
Output #1
Yes
Input #2
2 4
Output #2
No
题目信息
题面与样例版权归 AtCoder 及出题人所有;中文翻译由 AI 生成(CI 管线),如有出入请以原文为准。