100 atcoder#ABC091A. [ABC091A] Two Coins
[ABC091A] Two Coins
Score : points
Problem Statement
An elementary school student Takahashi has come to a variety store.
He has two coins, -yen and -yen coins (yen is the currency of Japan), and wants to buy a toy that costs 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.
Input
Input is given from Standard Input in the following format:
Output
If Takahashi can buy the toy, print Yes
; if he cannot, print No
.
50 100 120
Yes
He has yen, so he can buy the -yen toy.
500 100 1000
No
He has yen, but he cannot buy the -yen toy.
19 123 143
No
There are -yen and -yen coins in Takahashi Kingdom, which are rather hard to use.
19 123 142
Yes