#abc285a. [abc285_a]Edge Checker 2
[abc285_a]Edge Checker 2
Problem Statement
Determine if there is a segment that directly connects the points numbered and in the figure below.
Constraints
- and are integers.
Input
The input is given from Standard Input in the following format:
Output
Print Yes
if there is a segment that directly connects the points numbered and ; print No
otherwise.
Sample Input 1
1 2
Sample Output 1
Yes
In the figure in the Problem Statement, there is a segment that directly connects the points numbered and , so Yes
should be printed.
Sample Input 2
2 8
Sample Output 2
No
In the figure in the Problem Statement, there is no segment that directly connects the points numbered and , so No
should be printed.
Sample Input 3
14 15
Sample Output 3
No