A - Delivering a Spare Key Editorial /

Time Limit: 2 sec / Memory Limit: 1024 MiB

配点 : 200 点

問題文

高橋君と青木君は同じマンションに住んでいます。高橋君の部屋は A 階、青木君の部屋は B 階にあります。

高橋君は青木君に合鍵を届けに行きます。高橋君は、階の差が C 以下なら階段で行き、そうでなければエレベーターを使います。

高橋君が階段で行くなら Yes を、エレベーターを使うなら No を出力してください。

制約

  • 1 \leq A \leq 100
  • 1 \leq B \leq 100
  • 0 \leq C \leq 100
  • 入力はすべて整数

入力

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

A B C
  • 1 行目には、高橋君の部屋の階 A 、青木君の部屋の階 B 、階段で行ける階の差の上限 C がスペース区切りで与えられる。

出力

階段で行くなら Yes を、エレベーターを使うなら No を 1 行で出力せよ。


入力例 1

3 5 4

出力例 1

Yes

入力例 2

2 9 3

出力例 2

No

入力例 3

7 7 1

出力例 3

Yes

入力例 4

50 50 100

出力例 4

Yes

入力例 5

69 63 61

出力例 5

Yes

Score : 200 pts

Problem Statement

Takahashi and Aoki live in the same apartment building. Takahashi's room is on floor A, and Aoki's room is on floor B.

Takahashi goes to deliver a spare key to Aoki. If the difference between the floors is at most C, Takahashi takes the stairs; otherwise, he uses the elevator.

Print Yes if Takahashi takes the stairs, and No if he uses the elevator.

Constraints

  • 1 \leq A \leq 100
  • 1 \leq B \leq 100
  • 0 \leq C \leq 100
  • All input values are integers.

Input

The input is given from Standard Input in the following format:

A B C
  • The first line contains Takahashi's floor A, Aoki's floor B, and the maximum floor difference C for which Takahashi can take the stairs, separated by spaces.

Output

Print Yes if Takahashi takes the stairs, and No if he uses the elevator, in a single line.


Sample Input 1

3 5 4

Sample Output 1

Yes

Sample Input 2

2 9 3

Sample Output 2

No

Sample Input 3

7 7 1

Sample Output 3

Yes

Sample Input 4

50 50 100

Sample Output 4

Yes

Sample Input 5

69 63 61

Sample Output 5

Yes