9901: ABC309 —— A - Nine
[Creator : ]
Description
We have the following $3 \times 3$ board with integers from $1$ through $9$ written on it.
You are given two integers $A$ and $B$ between $1$ and $9$, where $A < B$.
Determine if the two squares with $A$ and $B$ written on them are adjacent horizontally.
You are given two integers $A$ and $B$ between $1$ and $9$, where $A < B$.
Determine if the two squares with $A$ and $B$ written on them are adjacent horizontally.
Input
The input is given from Standard Input in the following format:
```
$A$ $B$
```
```
$A$ $B$
```
Output
Print `Yes` if the two squares with $A$ and $B$ written on them are adjacent horizontally, and `No` otherwise.
Constraints
- $1 \le A < B \le 9$
- $A$ and $B$ are integers.
- $A$ and $B$ are integers.
Sample 1 Input
7 8
Sample 1 Output
Yes
The two squares with 7 and 8 written on them are adjacent horizontally, so print Yes.
Sample 2 Input
1 9
Sample 2 Output
No
Sample 3 Input
3 4
Sample 3 Output
No