100 atcoder#ABC223A. [ABC223A] Exact Price
[ABC223A] Exact Price
Score : points
Problem Statement
Takahashi's purse has one or more -yen coins in it and nothing else. (Yen is the Japanese currency.)
Is it possible that the total amount of money in the purse is yen?
Constraints
- All values in input are integers.
Input
Input is given from Standard Input in the following format:
Output
If it is possible that the total amount of money in Takahashi's purse is yen, print Yes
; otherwise, print No
.
500
Yes
If the purse has five -yen coins, the total amount of money is yen. Thus, it is possible that the total amount is yen, so we should print Yes
.
40
No
0
No
Note that the purse has at least one -yen coin.