AtCoder Beginner Contest 091
A
Two Coins
AtCoder
⌀ 0
原题
←B →
翻译中…

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.

翻译中…

样例

Input #1
50 100 120
Output #1
Yes
He has $50 + 100 = 150$ yen, so he can buy the $120$-yen toy.
Input #2
500 100 1000
Output #2
No
He has $500 + 100 = 600$ yen, but he cannot buy the $1000$-yen toy.
Input #3
19 123 143
Output #3
No
There are $19$-yen and $123$-yen coins in Takahashi Kingdom, which are rather hard to use.
Input #4
19 123 142
Output #4
Yes
题目信息
题号
abc091_a
时间限制
2 s
内存限制
256 MB

题面与样例版权归 AtCoder 及出题人所有;中文翻译由 AI 生成(CI 管线),如有出入请以原文为准。