Problem:
 Score : 100 points    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 .        Sample Input 1 2 900      Sample Output 1 Yes  Two 500 -yen coins add up to 1000 yen, which is not less than X = 900 yen.       Sample Input 2 1 501      Sample Output 2 No  One 500 -yen coin is worth 500 yen, which is less than X = 501 yen.       Sample Input 3 4 2000      Sample Output 3 Yes  Four 500 -yen coins add up to 2000 yen, which is not less than X = 2000 yen.

Solution (Python):
K,X = map(int,input().split())
if X / 500 > K:
    print("No")
else:
    print("Yes")

Solution (Python):
import sys;input=lambda:sys.stdin.readline().rstrip();aint=lambda:int(input());ints=lambda:list(map(int,input().split()))
import math;floor,ceil=lambda x:int(math.floor(x)),lambda x:int(math.ceil(x))
from functools import reduce;gcd=lambda*x:reduce(math.gcd,x);lcm=lambda*x:reduce(lambda x,y:(x*y)//gcd(x,y),x,1)
from collections import deque
Yes=lambda b:print("Yes"if b else"No");YES=lambda b:print("YES"if b else"NO")
is_even=lambda x:True if x%2==0 else False

def is_palindrome(s):
  n=len(s);b=True
  for i in range(int(0.5*n)):
    if s[i]!=s[n-i-1]:b=False
  return b

def main():
  k,x=ints()
  Yes(k*500>=x)

if __name__ == '__main__':
    main()

Solution (Python):
K,X = map(int,input().split())
if 500*K>=X:
    print("Yes")
else:
    print("No")

Solution (Python):
k,x=map(int,input().split())
if 500*k>=x:
    print('Yes')
else:
    print('No')

Solution (Python):
K, X = list(map(int, input().split()))
if 500*K >= X:
  print("Yes")
else:
  print("No")

Solution (Python):
K,X = map(int,input().split())
print("Yes" if K*500 >= X else "No")

Solution (Python):
a, b = map(int, input().split())
res = 'No'
if 500*a >= b:
    res = 'Yes'
print(res)

Solution (Python):
K,X = list(map(int, input().split()))

if K*500 >= X:
  print ("Yes")
else:
  print ("No")

Solution (Python):
k,x=map(int,input().split())
if 500*k<x:
    print("No")
else:
    print("Yes")

Solution (Python):
k , x = map(int,input().split())
print("Yes" if 500*k>=x else "No")

Solution (Python):
k,x = map(int,input().split())
if 500*k >= x:
    print('Yes')
else:
    print('No')

Solution (Python):
K, X = map(int,input().split())

print( 'Yes' if X <= 500*K else 'No')

Solution (Python):
x, k = map(int, input().split())
print("Yes") if 500 * x >= k else print("No")

Solution (Python):
a,b =map(int,input().split())
print('Yes' if 500*a >= b else 'No')

Solution (Python):
K, X = map(int,input().split())
print('Yes' if (500 * K) >= X  else 'No')

Solution (Python):

def main():
    K, X = map(int, input().split())
    print('Yes' if 500 * K >= X else 'No')


if __name__ == "__main__":
    main()

Solution (Python):
n, m = map(int, input().split())
 
if 500 * n >= m:
    print("Yes")
else:
    print("No")

Solution (Python):


k, x = list(map(int, input().split()))

if 500*k >= x:
    print("Yes")
else:
    print("No")

Solution (Python):
K, X = list(map(int, input().split()))
print('Yes' if 500 * K >= X else 'No')

Solution (Python):
num,money=map(int,input().split())
if num*500>=money:
  print("Yes")
else:
  print("No")

Solution (Python):
a,b=map(int,input().split())
if a*500>=b:
  print('Yes')
else:
  print('No')

Solution (Python):
K, X = map(int, input().split())
print("Yes" if 500 * K >= X else "No")

Solution (Python):
n,k = map(int,input().split())
res = n*500
if res >= k:
  print("Yes")
else:
  print("No")

Solution (Python):
def ma():
    return map(int,input().split())
k,x=ma()
if k*500>=x:
    print('Yes')
else:
    print('No')

Solution (Python):
k,x=map(int,input().split())
if 500*k>=x:print("Yes")
else:print('No')

Solution (Python):

k,x=map(int,input().split())
if 500*k>=x:
    print("Yes")
else:
    print('No')

Solution (Python):
K,X = map(int,input().split())

if 500*K >=X:
    print('Yes')
else:
    print('No')

Solution (Python):
K, X = map(int, input().split())
if (500*K) >= X:
    print('Yes')
else:
    print('No')

Solution (Python):
K,X = map(int,input().split())

account = K * 500

if account >= X:
    print("Yes")
else:print("No")

Solution (Python):
K, X = map(int, input().split())

def check():
    if 500*K>=X:
        return 'Yes'
    return 'No'
print(check())

Solution (Python):
K,X=map(int,input().split())

if 500*K>=X:
  print("Yes")
else:
  print("No")

Solution (Python):
first, total = map(int, input().split())

if (first * 500) >= total:
    print('Yes')
else:
    print('No')

Solution (Python):
K, X = map(int, input().split())
if 500 * K >= X:
    print("Yes")
else:
    print("No")

Solution (Python):
k,x = map(int,input().split())
if k*500 >= x:
    print('Yes')
else:
    print('No')

Solution (Python):
K,X=map(int,input().split())
if 500*K>=X:
	print('Yes')
else:
	print('No')

Solution (Python):
k, x = map(int,input().split())
if k*500 >= x:
    print("Yes")
else:
    print("No")

Solution (Python):
N, K = map(int,input().split())
print('Yes' if N*500>=K else 'No')

Solution (Python):
k, x = map(int, input().split())
if 500*k >= x:
    print("Yes")
else:
    print("No")

Solution (Python):
def main():
    k, x = list(map(int, input().split()))
    print('Yes') if k * 500 >= x else print('No')

if __name__ == '__main__':
    main()

Solution (Python):


def main():
    K, X = map(int, open(0).read().split())
    if (500 * K >= X):
        print('Yes')
    else:
        print('No')


main()

Solution (Python):
k,x = map(int, input().split())
if 500*k>=x:
    print('Yes')
else:
    print('No')

Solution (Python):
K, X = map(int, input().split())
if 500*K >= X:
    print('Yes')
else:
    print('No')

Solution (Python):
k, x = map(int, input().split())
if(k * 500 >= x):
  print('Yes')
else:
  print('No')

Solution (Python):
k, x = map(int, open(0).read().split())
total = 500 * k
if total >= x:
    print('Yes')
else:
    print('No')

Solution (Python):
k,x = (int(x) for x in input().split())
print("Yes" if 500 * k >= x else "No")

Solution (Python):
k, x = map(int, input().split())
ans = 'Yes' if 500 * k >= x else 'No'
print(ans)

Solution (Python):
k,x=map(int,input().split())
print("Yes") if k*500>=x else print("No")

Solution (Python):
K, X = map(int, input().split())

sum_money = 500 * K
print('Yes') if sum_money >= X else print('No')

Solution (Python):
K,X=map(int,input().split())
if(K*500>=X):
  print('Yes')
else:
  print('No')

Solution (Python):
k,x = map(int,input().split())

if 500 * k >= x:
	print('Yes')
elif 500 * k < x:
	print('No')

Solution (Python):
a = list(map(int, input().split()))
if(a[0] * 500 >= a[1]):
  print("Yes")
else:
  print("No")

Solution (Python):
K,X = map(int,input().split())
print("Yes" if 500*K>=X else "No")

Solution (Python):
X,K=map(int,input().split())
print('Yes' if 500*X>=K else 'No')

Solution (Python):
k,x=map(int,input().split())
if k*500>=x:
  print("Yes")
else:
  print("No")

Solution (Python):
a,b=map(int,input().split())
print("Yes" if a*500>=b else "No")

Solution (Python):


K, X = map(int, input().split())

if 500 * K >= X:
    print("Yes")
else:
    print("No")

Solution (Python):
K,X=[int(x) for x in input().rstrip().split()]
if (X<=K*500):
  print("Yes")
else:
  print("No")

Solution (Python):
k,x=map(int, input().split())

if 500*k>=x:
  print("Yes")
else:
  print("No")

Solution (Python):
k, x = map(int,input().split())

if 500*k >= x:
    print('Yes')
else:
    print('No')

Solution (Python):







K, X = [int(x) for x in input().split()]

if K * 500 >= X:
    print("Yes")
else:
    print("No")

Solution (Python):
k, x =  map(int, input().split())
print('Yes' if k * 500 >= x else 'No')

Solution (Python):
data = input().split()
k = int(data[0])
x = int(data[1])
 
if k * 500 >= x:
  print("Yes")
else:
  print("No")

Solution (Python):
def main():
    K, X = map(int, input().split())
    if 500*K >= X:
        print("Yes")
    else:
        print("No")
if __name__ == "__main__":
    main()

Solution (Python):
K, X = map(int, input().split())

if K * 500 >= X:
    print("Yes")
else:
    print("No")

Solution (Python):
k, x = map(int, input().split())
if 500 * k >= x:
    print('Yes')
else:
    print('No')

Solution (Python):
K,M = map(int,input().split())
if 500*K >= M:
    print("Yes")
else:
    print("No")

Solution (Python):
k, x = map(int, input().split())

if 500 * k >= x:
    print('Yes')
else:
    print('No')

Solution (Python):
import sys
k, x = map(int, sys.stdin.readline().split())
if k*500 >= x:
  print('Yes')
else:
  print('No')

Solution (Python):
K, X = map(int, input().split())
if K * 500 >= X:
    print("Yes")
else:
    print("No")

Solution (Python):
k,x = map(int,input().split())
if 500*k >= x:
  print('Yes')
else:
  print('No')

Solution (Python):
print('YNeos'[eval(input().replace(' ','*500<'))::2])

Solution (Python):
print('Yes' if eval(input().replace(' ','*500>=')) else 'No')

Solution (Python):
k,x=[int(i)for i in input().split()]
if 500*k>=x:
  print('Yes')
else:
  print('No')

Solution (Python):
k, x = map(int, input().split())
if 500*k >= x:
  print('Yes')
else:
  print('No')

Solution (Python):
K, X = map(int, input().split())
if 500*K >= X:
  print("Yes")
else:
  print("No")

Solution (Python):
k, x = map(int, input().split());

if k * 500 >= x:
  print("Yes");
else:
  print("No");

Solution (Python):
a = input().split()
k = int(a[0])
x = int(a[1])


if 500 * k >= x:
  print("Yes")
else:
  print("No")

Solution (Python):
K, X = (int(x) for x in input().split())
if K*500 >= X:
  print("Yes")
else:
  print("No")

Solution (Python):
l=list(map(int,input().split()))
k,x=l[0],l[1]
if (k*500)>=x:
  print('Yes')
else:
  print('No')

Solution (Python):
k,x = (int(i) for i in input().split())
if 500*k >= x:
  print('Yes')
else:
  print('No')

Solution (Python):
k,x = map(int,input().split())
print(['Yes','No'][500*k<x])

Solution (Python):
coin , mon = map(int,input().split())

if coin*500 >= mon:
    print("Yes")
else:
    print("No")

Solution (Python):
K,X = map(int,(input().split()))
if 500*K >= X:
    print("Yes")
else:
    print("No")

Solution (Python):
K,X=map(int,input().split())
print('YNeos'[500*K<X::2])

Solution (Python):
k, x = map(int, input().split())
print('Yes') if k*500 >= x else print('No')

Solution (Python):
a, b = map(int, input().split())
print("Yes" if 500 * a >= b else "No")

Solution (Python):
import sys
input = sys.stdin.readline
rs = lambda: input().strip()
ri = lambda: int(input())
rl = lambda: list(map(int, input().split()))
mod = 10**9 + 7


K, X = rl()

if K*500 >= X:
    print('Yes')
else:
    print('No')

Solution (Python):
a,b = map(int, input().split())
if a*500 >= b:
  print('Yes')
else:
  print('No')

Solution (Python):
k,x = map(int, input().split())
if 500*k>=x: print('Yes')
else: print('No')

Solution (Python):
k,x = map(int,input().split())
y = 'Yes'
n = 'No'
if (500*k) < x:
  print(n)
elif (500*k) >= x:
  print(y)

Solution (Python):
x = input().split()
if int(x[0])*500 >= int(x[1]):
  print('Yes')
else:
  print('No')

Solution (Python):
a,b=map(int,input().split())
if 500 * a >= b:
  print("Yes")
else:
  print("No")

Solution (Python):
K, X = map(int, input().split())

if 500 * K >= X:
    print('Yes')
else:
    print('No')

Solution (Python):
K, X = input().split()
K = int(K)
X = int(X)
if 500*K >= X:
    print("Yes") 
else:
    print("No")

Solution (Python):
K,X = map(int, input().split())
if K*500 >= X:
  print('Yes')
else:
  print('No')

Solution (Python):

K, X = map(int, input().split())
if 500*K >= X:
    print("Yes")
else:
    print("No")

Solution (Python):
K, Z = map(int,input().split())

if K*500 >= Z:
    print('Yes')
else:
    print('No')

Solution (Python):
k,x = list(map(int, input().split()))

if k*500 >= x:
  print("Yes")
else:
  print("No")

Solution (Python):
N,K=map(int,input().split())

if 500*N>=K:
  print('Yes')
else:
  print('No')

Solution (Python):

import math


k,x = map(int,input().split())


if k * 500 >= x:
    text = "Yes"
else:
    text = "No"


print(text)

Solution (Python):

K, X = map(int, input().split())

if 500 * K >= X:
    print('Yes')
else:
    print('No')

Solution (Python):
k, x = map(int, input().split())
if 500*k >= x:
    print("Yes")
else:
    print("No")

Solution (Python):
K, X = map(int,input().split())
if K * 500 >= X:
  print("Yes")
else:
  print("No")

Solution (Python):
k, x = map(int, input().split())
if 500 * k >= x:
    print("Yes")
else:
    print("No")

Solution (Python):
K,X=map(int,input().split())
if 500*K>=X:
    print("Yes")
else:
    print("No")

Solution (Python):
K,X=map(int,input().split())
print('Yes' if 500*K>=X else 'No')

Solution (Python):
k, x = map(int, input().split())
print("Yes" if x <= 500 * k else "No")

Solution (Python):
K, X = map(int, input().split())
if K*500>=X:
  print('Yes')
else:
  print('No')

Solution (Python):
k, x = map(int, input().split())
if 500*k >= x:
    print("Yes")
else:
    print("No")

Solution (Python):
K, X = map(int, input().split())
print("Yes" if 500*K >= X else "No")

Solution (Python):
from collections import deque, Counter as cnt
from collections import defaultdict as dd
from operator import itemgetter as ig
from bisect import bisect_right as bsr
from math import factorial, ceil, floor
import sys
sys.setrecursionlimit(1000000)


args = None
INF = float("inf")
MOD = int(1e9 + 7)


def input(*ps):
    if type(ps[0]) is list:
        return [input(*ps[0][:-1]) for _ in range(ps[0][-1])]
    elif len(ps) == 1:
        return ps[0](next(args))
    else:
        return [p(next(args)) for p in ps]


def nlist(n, v):
    if not n:
        return [] if type(v) is list else v
    return [nlist(n[1:], v) for _ in range(n[0])]


def yesno(v, yes="Yes", no="No", upper=False):
    if upper:
        print([yes.upper(), no.upper()][not v])
    else:
        print([yes, no][not v])


def main():
    """エントリーポイント"""
    K, X = input([int, 2])
    yesno(X <= K * 500)


if __name__ == '__main__':
    args = iter(sys.stdin.read().split())
    main()

Solution (Python):
k,x=map(int,input().split())

if 500*k >= x:
  print("Yes")
else:
  print("No")

Solution (Python):
k,x=map(int,input().split())
if 500*k>=x:
  print("Yes")
else:
  print("No")

Solution (Python):
K,X=map(int,input().split())
if 500*K<X:
  print('No')
else:
  print('Yes')

Solution (Python):
s,t = list(map(int , input().split()))
if (500*s) >= t:
  print("Yes")
else:
  print("No")

Solution (Python):
k,x=map(int, input().split())

if 500 * k >= x:
    print('Yes')
else:
    print('No')

Solution (Python):
K,X = map(int,input().split())
sum_yen = K*500
if(sum_yen>=X):
    print("Yes")
else:
    print("No")

Solution (Python):
k,n=map(int,input().split())
print('Yes' if 500*k>=n else 'No')

Solution (Python):
k,x=map(int,input().split())
if k*500>=x:
  print('Yes')
else:
  print('No')

Solution (Python):
k,x=map(int,input().split())
if 500*k>=x:
    print("Yes")
else:
    print("No")

Solution (Python):
k, x = map(int, input().split())

if 500*k >= x:
    print("Yes")
else:
    print("No")

Solution (Python):

import sys

YES = "Yes"  
NO = "No"  


def solve(K: int, X: int):
    if 500 * K >= X:
        print(YES)
    else:
        print(NO)
    return


def main():
    def iterate_tokens():
        for line in sys.stdin:
            for word in line.split():
                yield word

    tokens = iterate_tokens()
    K = int(next(tokens))  
    X = int(next(tokens))  
    solve(K, X)


if __name__ == "__main__":
    main()

Solution (Python):
K, X = map(int, input().split())

if 500*K >= X:
    print('Yes')
else:
    print('No')

Solution (Python):
k,x = map(int,input().split())
if k*500>=x: print("Yes")
else: print("No")

Solution (Python):
k, x = map(int, input().split())
if 500*k >= x:
    print('Yes')
else:
    print('No')

Solution (Python):
k, x = map(int, input().split())
if 500 * k >= x:
    print('Yes')
else:
    print('No')

Solution (Python):
k,x=map(int,input().split())
if(500*k>=x):
  print("Yes")
else:
  print("No")

Solution (Python):
import math

k, x = map(int, input().split(" "))

if 500 * k >= x:
    print("Yes")
else:
    print("No")

Solution (Python):
k, x = map(int, input().split())
if 500*k >= x:
    print('Yes')
else:
    print('No')

Solution (Python):
k,x = map(int, input().split())
if 500*k >= x:
  print('Yes')
else:
  print('No')

Solution (Python):
k, x = map(int, input().split())
if 500 * k >= x:
    print('Yes')
else:
    print('No')

Solution (Python):
K, X = map(int,input().split())
if 500 * K >= X:
    print('Yes')
else:
    print('No')

Solution (Python):
K,X = [int(v) for v in input().split()]
if 500 * K >= X:
    print("Yes")
else:
    print("No")

Solution (Python):
k,x = map(int,input().split())

if k*500>=x:
  print("Yes")
else:
  print("No")

Solution (Python):
import math
import fractions
import sys
import itertools
import numpy as np
from collections import Counter
import datetime

def input1():
	return int(input())


def input2():
	return map(int,input().split())


def input_array():
	return list(map(int,input().split()))

def keta(N):
	return len(str(N))


def input_daytime(input_time):
	time,distance=input_time.split()
	t=time.split(":")
	se=str(t[-1]).split(".")
	dt1 = datetime.timedelta(hours=int(t[0]),minutes=int(t[1]),seconds=int(se[0]),milliseconds=int(se[1]))
	return dt1


k,x=input2()

if 500*k>=x:
	print("Yes")
else:
	print("No")

Solution (Python):
k, x = map(int, input().split())


if k * 500 >= x:
    print('Yes')
else:
    print('No')

Solution (Python):
k,x=map(int,input().split())
print('Yes'if 500*k>=x else'No')

Solution (Python):
k,x=map(int,input().split())
if 500*k>=x:
    print('Yes')
else:
    print('No')

Solution (Python):
K, X = list(map(int, input().split()))
if K * 500 >= X:
    print("Yes")
else:
    print("No")

Solution (Python):
k, x = list(map(int, input().split()))
print('Yes') if 500 * k >= x else print('No')

Solution (Python):
k, x = [int(x) for x in input().split()]
ans = "Yes" if 500 * k >= x else "No"
print(ans)

Solution (Python):
K,X=map(int,input().split())
sum=K*500
if sum>=X:
  print("Yes")
else :
  print("No")

Solution (Python):


k,x=map(int,input().split())
if k*500>=x:
    print("Yes")
else:
    print("No")

Solution (Python):
k, x = map(int, input().split())
if k * 500 >= x:
    print("Yes")
else:
    print("No")

Solution (Python):
a = list(map(int,input().split()))
x = 500*a[0]
if x >=a[1]:print("Yes")
else:print("No")

Solution (Python):
k,x = [int(i) for i in input().split(' ')]
print('Yes') if(500*k >= x) else print('No')

Solution (Python):
k,x=map(int,input().split())
if 500*k>=x:
    print("Yes")
else:
    print("No")

Solution (Python):
def q1():
    K, X = (int(i) for i in input().split())
    if K * 500 >= X:
        print('Yes')
    else:
        print('No')


if __name__ == '__main__':
    q1()

Solution (Python):
K,X=map(int,input().split())
if 500*K>=X:
    print("Yes")
else:
    print("No")

Solution (Python):
K, X = map(int, input().split())
money = K*500

if money >= X:
    print("Yes")
else:
    print("No")

Solution (Python):
k,x=map(int,input().split())
if k*500>=x:
  print("Yes")
else:
  print("No")

Solution (Python):
a = input()
k = int(a.split()[0])
x = int(a.split()[1])

if k * 500 >= x:
    print('Yes')
else:
    print('No')

Solution (Python):


K, X =map(int, input().split())

if K*500<X:
  print("No")
else:
  print("Yes")

Solution (Python):
k, x = map(int, input().split())
if 500*k >= x:
    print("Yes")
else:
    print("No")

Solution (Python):
k, x = map(int, input().split())

print('Yes') if k*500>=x else print('No')

Solution (Python):
a,b=input().split()
a=int(a)
b=int(b)
if 500*a>=b:
  print("Yes")
else:
  print("No")

Solution (Python):
k, x = map(int, input().split())

if 500 * k >= x:
  print("Yes")
else:
  print("No")

Solution (Python):
k,x = map(int, input().split())
if 500*k>=x:
    print('Yes')
else:
    print('No')

Solution (Python):



def main():
    k, x = map(int, input().split())

    ret = "No"
    if 500 * k >= x:
        ret = "Yes"
    return ret


if __name__ == '__main__':
    print(main())

Solution (Python):


def main():
     k, x = map(int, input().split())
     if k * 500 >= x:
          print('Yes')
     else:
          print('No')

if __name__ == "__main__":
    main()

Solution (Python):
icase=0
if icase==0:
    k,x=map(int,input().split())
    if 500*k>=x:
        print("Yes")
    else: 
        print("No")

Solution (Python):
a,b = map(int, input().split())

if 500*a >= b:
    print("Yes")
else:
    print("No")

Solution (Python):
k, x = map(int, input().split())
print('Yes' if k * 500 >= x else 'No')

Solution (Python):
k, x = map(int, input().split())
if k * 500 >= x:
    print('Yes')
else:
    print('No')

Solution (Python):
def main():
    k, x = map(int, (input().split()))
    if 500 * k >= x:
        print('Yes')
    else:
        print('No')


if __name__ == '__main__':
    main()

Solution (Python):
K ,X = map(int, input().split())

if 500*K >= X:
    print("Yes")

else:
    print("No")

Solution (Python):
k, x = map(int, input().split())
if k*500>=x:
    print("Yes")
else:
    print("No")

Solution (Python):
k,x = map(int, input().split())
if (k*500) >= x:
    print('Yes')
else:
    print('No')

Solution (Python):
K, X =map(int,input().split())
if 500*K>=X:
  print('Yes')
else:
  print('No')

Solution (Python):
k,x = map(int, input().split())
if (500*k >= x):
    print("Yes")
else:
    print("No")

Solution (Python):
a,X=map(int, input().split())

if(a*500>=X):
    print('Yes')
else:
    print('No')

Solution (Python):
K, X = map(int, input().split())

if 500*K >= X:
    print("Yes")
else:
    print("No")

Solution (Python):
K, X = map(int,input().split())
print('Yes' if 500*K>=X else 'No')

Solution (Python):
K,X=map(int,input().split())

if 500*K >= X:
  print('Yes')
else:
  print('No')

Solution (Python):
k,x = map(int,input().split())
if k*500>=x: print('Yes')
else: print('No')

Solution (Python):
K, X = (int(x) for x in input().split())
if K * 500 >= X:
    print("Yes")
else:
    print("No")

Solution (Python):
import sys, re
from collections import deque, defaultdict, Counter
from math import ceil, sqrt, hypot, factorial, pi, sin, cos, radians
from itertools import accumulate, permutations, combinations, product, groupby
from operator import itemgetter, mul
from copy import deepcopy
from string import ascii_lowercase, ascii_uppercase, digits
from bisect import bisect, bisect_left
from fractions import gcd
from heapq import heappush, heappop
from functools import reduce
def input(): return sys.stdin.readline().strip()
def INT(): return int(input())
def MAP(): return map(int, input().split())
def LIST(): return list(map(int, input().split()))
def ZIP(n): return zip(*(MAP() for _ in range(n)))
sys.setrecursionlimit(10 ** 9)
INF = float('inf')
mod = 10 ** 9 + 7

K, X = MAP()

print("Yes" if 500*K >= X else "No")

Solution (Python):
k,x=map(int,input().split())
if 500*k>=x:
    print('Yes')
else:
    print('No')

Solution (Python):
k, x = map(int, input().split())
if 500 * k >= x:
    print("Yes")
else:
    print("No")

Solution (Python):
k,x = map(int,input().split())
if 500*k >= x:
    print('Yes')
else:
    print('No')

Solution (Python):
k,x=map(int,input().split())
if k*500>=x:
  print('Yes')
else:
  print('No')

Solution (Python):
k, x = map(int, input().split())
print('Yes' if k * 500 >= x else 'No')

Solution (Python):
a,b=map(int,input().split())
if 500*a>= b:
    print("Yes")
else:
    print("No")

Solution (Python):
def main():
    k, x = map(int, input().split())
    if 500 * k >= x:
        print("Yes")
    else:print("No")
if __name__ == "__main__":
    main()

Solution (Python):
K, X = map(int, input().split())

if 500*K >= X:
  print('Yes')
else:
  print('No')

Solution (Python):
k,x=map(int,input().split())

if k*500>=x:
  print('Yes')
else:
  print('No')

Solution (Python):

import sys
import numpy as np

YES = "Yes"  
NO = "No"  


def solve(K: int, X: int):
    if 500*K>=X:
        print(YES)
    else:
        print(NO)
    return



def main():
    def iterate_tokens():
        for line in sys.stdin:
            for word in line.split():
                yield word
    tokens = iterate_tokens()
    K = int(next(tokens))  
    X = int(next(tokens))  
    solve(K, X)

if __name__ == '__main__':
    main()

Solution (Python):

K,X=map(int,input().split())
print('Yes' if 500*K>=X else 'No')

Solution (Python):



K, X = map(int, input().split())


if K*500>=X:
    print("Yes")
else:
    print("No")

Solution (Python):
a = list(map(int, input().split()))

if a[0] * 500 >= a[1]:
  print("Yes")
else:
  print("No")

Solution (Python):
k,x=map(int,input().split())
print('Yes' if 500*k>=x else 'No')

Solution (Python):
k, x = map(int, input().split())
if (500 * k) >= x:
    print('Yes')
else:
    print('No')

Solution (Python):
k, x = map(int, input().split())
print('Yes') if 500 * k >= x else print('No')

Solution (Python):
k, x = map(int, input().split())
if k*500 >= x:
    print("Yes")
else:
    print("No")

Solution (Python):
K, X = map(int, input().split())
if 500*K < X:
  print("No")
else:
  print("Yes")

Solution (Python):
K, X = map(int, input().split())

if 500 * K >= X:
  print("Yes")
else:
  print("No")

Solution (Python):
import sys


def solve():
    readline = sys.stdin.buffer.readline
    mod = 10 ** 9 + 7
    k, x = list(map(int, readline().split()))
    print("Yes" if 500 * k >= x else "No")


if __name__ == '__main__':
    solve()

Solution (Python):
k, x = list(map(int, input().split()))

txt = 'Yes' if k * 500 >= x else 'No'
print(txt)

Solution (Python):
k,x = map(int,input().split())
if 500*k >= x:
  print('Yes')
else:
  print('No')

Solution (Python):
k, x = map(int, input().split())

sum = 500 * k

if sum >= x:
    print('Yes')
else:
    print('No')

Solution (Python):
k, x = map(int, input().split())
if 500 * k >= x:
    print('Yes')
else:
    print('No')

Solution (Python):
K,X=map(int,input().split())

if 500*K >= X:
  print('Yes')
else:
  print('No')

Solution (Python):
K, X = map(int,input().split())

if 500*K >= X:
    print('Yes')
else:
    print('No')

Solution (Python):
K,X=map(int, input().split())
if 500*K >= X:
  print('Yes')
else:
  print('No')

Solution (Python):
K, X = map(int, input().split())
print("Yes" if 500*K >= X else "No")

Solution (Python):
k,m=map(int,input().split())
if k*500<m:
    print("No")
else:
    print("Yes")

Solution (Python):
k, x = map(int, input().split())

if k*500 >= x:
    print('Yes')
else:
    print('No')

Solution (Python):
k, x = map(int, input().split())
if 500*k >= x:
    print('Yes')
else:
    print('No')

Solution (Python):
k, x = map(int, input().split())
if x <= 500 * k:
    print("Yes")
else:
    print("No")

Solution (Python):
x, k = map(int, input().split())

sum = x * 500
if sum >= k:
    print("Yes")
else:
    print("No")

Solution (Python):
k,x = map(int,input().split())
print('Yes'if 500*k>=x else 'No')

Solution (Python):
k, x = map(int, input().split())

if k*500 >= x:
    print("Yes")
else:
    print("No")

Solution (Python):





k, x = map(int, input().split())

if 500*k < x:
    print("No")
else:
    print("Yes")

Solution (Python):
k,x=map(int,input().split())
print("Yes" if 500*k>=x else "No")

Solution (Python):
k,x=map(int,input().split())
print('Yes'if 500*k>=x else 'No')

Solution (Python):
import sys
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines
sys.setrecursionlimit(10 ** 7)

k, x = map(int, readline().split())
if 500 * k >= x:
    print('Yes')
else:
    print('No')

Solution (Python):
k, x = map(int, input().split())
print('Yes' if k * 500 >= x else 'No')

Solution (Python):
K, X = map(int, input().split())
print("Yes" if 500*K>=X else "No")

Solution (Python):
k,x=map(int,input().split())
print("Yes" if x <= k * 500 else "No")

Solution (Python):
K,X=map(int,input().split())

if 500*K>=X:
    print('Yes')
else:
    print('No')

Solution (Python):
K, X =map(int, input().split())
print('Yes' if 500*K >= X else 'No')

Solution (Python):
K,X = map(int, input().split())
print("Yes" if 500*K >= X else "No")

Solution (Python):
n, k = map(int, input().split())

if n*500>=k: print('Yes')
else: print('No')

Solution (Python):
k, x = (int(x) for x in input().split())
if k*500>=x:
    print("Yes")
else:
    print("No")

Solution (Python):


K, X = map(int, input().split(" "))

if (500*K >= X):
  print("Yes")
else:
  print("No")

Solution (Python):
K, X = map(int, input().split())

if 500 * K >= X:
    print('Yes')
else:
    print('No')

Solution (Python):
K, X = map(int, input().split())
print('Yes' if K * 500 >= X else 'No')

Solution (Python):
from collections import defaultdict, deque
import sys, heapq, bisect, math, itertools, string, queue, copy, time
from fractions import gcd
import numpy as np
sys.setrecursionlimit(10**8)
INF = float('inf')
MOD = 10**9+7
EPS = 10**-7
def inp(): return int(sys.stdin.readline())
def inpl(): return list(map(int, sys.stdin.readline().split()))
def inpl_str(): return list(sys.stdin.readline().split())

k, x = map(int, input().split())
ans = 'No'
if 500 * k >= x:
    ans = 'Yes'

print(ans)

Solution (Python):
a, b = map(int, input().split())
 
if a*500 >= b:
    print('Yes')
else:
    print('No')

Solution (Python):
k, x = map(int, input().split())

if k * 500 >= x:
    print('Yes')
else:
    print('No')

Solution (Python):
K,X=map(int,input().split())

if 500*K<X:
    print('No')
else:
    print('Yes')

Solution (Python):
k,x = map(int, input().split())

if 500*k >= x:
    print('Yes')
    
else:
    print('No')

Solution (Python):

k, x = list(map(int,input().split()))

if k*500 >= x:
    print('Yes') 
else:
    print('No')

Solution (Python):
k,x = map(int,input().split())
print('Yes' if k*500 >= x else 'No')

Solution (Python):
K,X=map(int,input().split())
if (K*500)>=X:
    print('Yes')
else:
    print('No')

Solution (Python):
K, X = map(int, input().split())
print("Yes" if 500*K >= X else "No")

Solution (Python):
k,x = map(int, input().split())
if 500*k >= x:
  print("Yes")
else:
  print("No")

Solution (Python):
k,x=map(int,input().split())
if 500*k>=x:print("Yes")
else:print("No")

Solution (Python):
K = list(map(int,input().split()))
m = K[0]*500
if m >= K[1]:
    print('Yes')
else:
    print('No')

Solution (Python):
k,x = map(int, input().split())

if k*500 >= x:
	print("Yes")
else: 
	print("No")

Solution (Python):
k, x = map(int, input().split())

if 500 * k >= x :
    print("Yes")

else :
    print("No")

Solution (Python):
k,x = map(int,input().split())

if x <= (k*500):
  print('Yes')
else:
  print('No')

Solution (Python):
k,x=map(int,input().split())

if 500*k >= x:
	print("Yes")
else:
	print("No")

Solution (Python):
k,x= map(int, input().split())

if 500*k>=x:
    print('Yes')
else:
    print('No')

Solution (Python):
K, X = map(int,input().split())

if 500*K >= X:
  print('Yes')
else:
  print('No')

Solution (Python):
k,x = list(map(int, input().split()))
if 500*k >= x:
    print('Yes')
else:
    print('No')

Solution (Python):
k,x=[int(i) for i in input().split()]

total=k*500

if total>=x:
    print("Yes")
else:
    print("No")

Solution (Python):
n,k=map(int,input().split())
if 500*n>=k:
  print('Yes')
else:
  print('No')

Solution (Python):
k, x = map(int, input().split())
if 500*k >= x:
  print("Yes")
else:
  print("No")

Solution (Python):
k,x=map(int,input().split())

if (500*k)>=x:
  print("Yes")
else:
  print("No")

Solution (Python):
k,x = map(int,input().split())
K = 500*k
if x > K:
    print("No")
else:
    print("Yes")

Solution (Python):
k, x = map(int, input().split())
ans = "Yes" if 500 * k >= x else "No"
print(ans)

Solution (Python):
k,x=map(int,input().split())
print('Yes' if 500*k>=x else 'No')