A - Three-Point Shot Editorial /

Time Limit: 2 sec / Memory Limit: 1024 MB

配点 : 100

問題文

バスケットボールの試合が行われており、現在の両チームの得点は XY です。ここで X \neq Y であることが保証されます。
現在劣勢であるチームが、 3 ポイントシュートを一本成功させて優勢に立つことはできますか?
つまり、現在得点が低い側のチームが 3 点を得た場合、そのチームの得点が他方のチームの得点より真に高くなるかを判定してください。

制約

  • 0 \le X \le 100
  • 0 \le Y \le 100
  • X \neq Y
  • X, Y は整数である

入力

入力は以下の形式で標準入力から与えられる。

X Y

出力

現在劣勢であるチームが 3 ポイントシュートを一本成功させて優勢に立つことができるなら Yes を、できないなら No を出力せよ。


入力例 1

3 5

出力例 1

Yes

現在 3 点を取っている側が劣勢です。
このチームが 3 ポイントシュートを成功させると、得点は 6 点となり、優勢だったチームの得点である 5 点を上回ります。
よって Yes を出力します。


入力例 2

16 2

出力例 2

No

点差が開きすぎていて、劣勢側が 3 点を取ったとしても優勢側を上回ることはできません。


入力例 3

12 15

出力例 3

No

3 ポイントシュートによって同点にはなりますが、追い抜くことはできません。

Score : 100 points

Problem Statement

A basketball game is being played, and the score is now X-Y. Here, it is guaranteed that X \neq Y.
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

  • 0 \le X \le 100
  • 0 \le Y \le 100
  • X \neq Y
  • X and Y are integers.

Input

Input is given from Standard Input in the following format:

X Y

Output

If the team which is behind can turn the tables with a successful three-point goal, print Yes; otherwise, print No.


Sample Input 1

3 5

Sample Output 1

Yes

The team with 3 points is behind.
After a successful 3-point goal, it will have 6 points, which is greater than that of the other team - 5.
Thus, we should print Yes.


Sample Input 2

16 2

Sample Output 2

No

The gap is too much. The team which is behind cannot overtake the other by getting 3 points.


Sample Input 3

12 15

Sample Output 3

No

A 3-point goal will tie the score but not turn the tables.