No.2736 About half
Problem Statement
There are $A + B$ candies in total, and they were distributed so that Alice received $A$ candies and Bob received $B$ candies.
Alice and Bob each complain about the distribution if the number of candies the other person has is greater than $2$ times the number of candies they themselves have.
Determine whether neither Alice nor Bob complains about this distribution.
Constraints
- All inputs are integers.
- $1 \leq A, B \leq 500$
Input
The input is given from standard input in the following format.
$A \ B$
Output
Print Yes if neither Alice nor Bob complains, and No if at least one of Alice and Bob complains.
Sample
Sample 1
Input
6 6
Output
Yes
Neither of them complains.
Sample 2
Input
4 9
Output
No
Alice complains.
Sample 3
Input
500 250
Output
Yes
提出するには、Twitter 、GitHub、 Googleもしくは右上の雲マークをクリックしてアカウントを作成してください。