AtCoder Beginner Contest 150
翻译中…
Problem Statement
翻译中…
Takahashi has $K$ $500$-yen coins. (Yen is the currency of Japan.) If these coins add up to $X$ yen or more, print Yes; otherwise, print No.
翻译中…
Constraints
翻译中…
$1 \leq K \leq 100$$1 \leq X \leq 10^5$
翻译中…
Input
翻译中…
Input is given from Standard Input in the following format:
翻译中…
K X
翻译中…
Output
翻译中…
If the coins add up to $X$ yen or more, print Yes; otherwise, print No.
翻译中…
样例
Input #1
2 900
Output #1
Yes
Two $500$-yen coins add up to $1000$ yen, which is not less than $X = 900$ yen.
Input #2
1 501
Output #2
No
One $500$-yen coin is worth $500$ yen, which is less than $X = 501$ yen.
Input #3
4 2000
Output #3
Yes
Four $500$-yen coins add up to $2000$ yen, which is not less than $X = 2000$ yen.
题目信息
题面与样例版权归 AtCoder 及出题人所有;中文翻译由 AI 生成(CI 管线),如有出入请以原文为准。