Problem9190--ABC285 —— A - Edge Checker 2

9190: ABC285 —— A - Edge Checker 2

[Creator : ]
Time Limit : 1.000 sec  Memory Limit : 512 MiB

Description

Determine if there is a segment that directly connects the points numbered $a$ and $b$ in the figure below.

Input

The input is given from Standard Input in the following format:

```
$a$ $b$
```

Output

Print `Yes` if there is a segment that directly connects the points numbered $a$ and $b$; print `No` otherwise.

Constraints

-   $1 \leq a \lt b \leq 15$
-   $a$ and $b$ are integers.

Sample 1 Input

1 2

Sample 1 Output

Yes
In the figure in the Problem Statement, there is a segment that directly connects the points numbered 1 and 2, so Yes should be printed.

Sample 2 Input

2 8

Sample 2 Output

No
In the figure in the Problem Statement, there is no segment that directly connects the points numbered 2 and 8, so No should be printed.

Sample 3 Input

14 15

Sample 3 Output

No

Source/Category