Solve in Python:
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.

-----Sample Input-----
2 900

-----Sample Output-----
Yes

Two 500-yen coins add up to 1000 yen, which is not less than X = 900 yen.
a,b=input().split();print('YNeos'[eval(a+'*500<'+b)::2])