A - Two Coins Editorial /

Time Limit: 2 sec / Memory Limit: 256 MB

配点 : 100

問題文

小学生の高橋君は雑貨店にやってきました。

高橋君は A 円硬貨と B 円硬貨の 2 枚を持っており,C 円のオモチャを買いたいと思っています。高橋君はオモチャを買うことができるでしょうか?

なお,高橋君は高橋王国に住んでいるため,日本円ではありえないような硬貨を持っていることもあります。

制約

  • 入力は全て整数である
  • 1 \leq A, B \leq 500
  • 1 \leq C \leq 1000

入力

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

A B C

出力

オモチャを買えるならば Yes,買えないならば No を出力せよ。


入力例 1

50 100 120

出力例 1

Yes

高橋君は50 + 100 = 150円持っているため,120円のおもちゃが買えます。


入力例 2

500 100 1000

出力例 2

No

高橋君は500 + 100 = 600円持っていますが,1000円のおもちゃは買えません。


入力例 3

19 123 143

出力例 3

No

高橋王国には19円硬貨や123円硬貨も存在します。使いにくいですね。


入力例 4

19 123 142

出力例 4

Yes

Score : 100 points

Problem Statement

An elementary school student Takahashi has come to a variety store.

He has two coins, A-yen and B-yen coins (yen is the currency of Japan), and wants to buy a toy that costs C yen. Can he buy it?

Note that he lives in Takahashi Kingdom, and may have coins that do not exist in Japan.

Constraints

  • All input values are integers.
  • 1 \leq A, B \leq 500
  • 1 \leq C \leq 1000

Input

Input is given from Standard Input in the following format:

A B C

Output

If Takahashi can buy the toy, print Yes; if he cannot, print No.


Sample Input 1

50 100 120

Sample Output 1

Yes

He has 50 + 100 = 150 yen, so he can buy the 120-yen toy.


Sample Input 2

500 100 1000

Sample Output 2

No

He has 500 + 100 = 600 yen, but he cannot buy the 1000-yen toy.


Sample Input 3

19 123 143

Sample Output 3

No

There are 19-yen and 123-yen coins in Takahashi Kingdom, which are rather hard to use.


Sample Input 4

19 123 142

Sample Output 4

Yes