#abc223a. A - Exact Price
A - Exact Price
Score : points
问题陈述
高桥的钱包里只包含一个或多个 100 日元硬币,没有其他东西。(日元是日本的货币。)
钱包里的总金额可能是 X 日元吗?
以上为通义千问 qwen-max 翻译,仅供参考。
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
.
Sample Input 1
500
Sample Output 1
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
.
Sample Input 2
40
Sample Output 2
No
Sample Input 3
0
Sample Output 3
No
Note that the purse has at least one -yen coin.
update @ 2024/3/10 09:48:37