#abc223a. A - Exact Price

A - Exact Price

Score : 100100 points

问题陈述

高桥的钱包里只包含一个或多个 100 日元硬币,没有其他东西。(日元是日本的货币。)

钱包里的总金额可能是 X 日元吗?

以上为通义千问 qwen-max 翻译,仅供参考。

Problem Statement

Takahashi's purse has one or more 100100-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 XX yen?

Constraints

  • 0X10000 \leq X \leq 1000
  • All values in input are integers.

Input

Input is given from Standard Input in the following format:

XX

Output

If it is possible that the total amount of money in Takahashi's purse is XX yen, print Yes; otherwise, print No.

Sample Input 1

500

Sample Output 1

Yes

If the purse has five 100100-yen coins, the total amount of money is 500500 yen. Thus, it is possible that the total amount is X=500X=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 100100-yen coin.

update @ 2024/3/10 09:48:37