atcoder#YAHOOPROCON2019QUALA. Anti-Adjacency
Anti-Adjacency
Score : points
Problem Statement
Determine if we can choose different integers between and (inclusive) so that no two of them differ by .
Constraints
- and are integers.
Input
Input is given from Standard Input in the following format:
Output
If we can choose integers as above, print YES
; otherwise, print NO
.
3 2
YES
We can choose and .
5 5
NO
31 10
YES
10 90
NO