100 atcoder#ABC188A. [ABC188A] Three-Point Shot
[ABC188A] Three-Point Shot
Score : points
Problem Statement
A basketball game is being played, and the score is now -. Here, it is guaranteed that . Can the team which is behind turn the tables with a successful three-point goal? In other words, if the team which is behind earns three points, will its score become strictly greater than that of the other team?
Constraints
- and are integers.
Input
Input is given from Standard Input in the following format:
Output
If the team which is behind can turn the tables with a successful three-point goal, print Yes
; otherwise, print No
.
3 5
Yes
The team with points is behind.
After a successful -point goal, it will have points, which is greater than that of the other team - .
Thus, we should print Yes
.
16 2
No
The gap is too much. The team which is behind cannot overtake the other by getting points.
12 15
No
A -point goal will tie the score but not turn the tables.