102230: [AtCoder]ABC223 A - Exact Price
Description
Score : $100$ points
Problem Statement
Takahashi's purse has one or more $100$-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 $X$ yen?
Constraints
- $0 \leq X \leq 1000$
- All values in input are integers.
Input
Input is given from Standard Input in the following format:
$X$
Output
If it is possible that the total amount of money in Takahashi's purse is $X$ yen, print Yes
; otherwise, print No
.
Sample Input 1
500
Sample Output 1
Yes
If the purse has five $100$-yen coins, the total amount of money is $500$ yen. Thus, it is possible that the total amount is $X=500$ 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 $100$-yen coin.
Input
题意翻译
输入一个自然数 $n$ ,判断 $n$ 是否为 $100$ 的倍数且大于 $0$ 。Output
题目描述
高桥君的钱包里有 1 个或多个 100 日元硬币(日元是日本货币)。
钱包里的总金额有可能是 X 日元吗?
限制条件
- $0 \leq X \leq 1000$
- 输入中的所有值都是整数。
输入
从标准输入按以下格式获取输入:
$X$
输出
如果钱包里的总金额有可能是 X 日元,打印 Yes
;否则,打印 No
。
样例输入 1
500
样例输出 1
Yes
如果钱包里有 5 个 100 日元硬币,总金额就是 500 日元。因此,总金额有可能是 X=500 日元,所以我们应该打印 Yes
。
样例输入 2
40
样例输出 2
No
样例输入 3
0
样例输出 3
No
请注意,钱包里至少有一个 100 日元硬币。