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):
a,b=map(int,input().split( ))
sum=a*500
if sum>=b:
  print("Yes")
else:
  print("No")
exit()

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("No" if 500*k<x else "Yes")

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

Solution (Python):
text = input()

k, x = map(int, text.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().rstrip().split())
ret = 'Yes' if  K*500 >= X else 'No'
print(ret)

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

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

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()))
y = 500 * k
if y >= x:
  print("Yes")
else:
  print("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 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())
if K*500 >= X:
    print('Yes')
else:
    print('No')

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

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

Kt = 500 * K

if Kt >= X:
    print('Yes')
else:
    print('No')

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

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

Solution (Python):


s = input().split()

k=int(s[0])
x=int(s[1])


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 = list(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]=list(map(int,input().split()))
if k*500>=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 500 * K >= X else "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):
sp_list = list(map(int, input().split()))

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

Solution (Python):
b, c = map(int, input().split())
result = b * 500
if c < result:
    print("Yes")
elif c == result:
    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 k*500 >= x:
    print("Yes")
else:
    print("No")

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

main()

Solution (Python):
import math
import sys


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

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

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

k = k * 500

if 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()]
print('Yes' if K*500 >=X else 'No')

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

Solution (Python):
ip = raw_input().split()
k = int(ip[0])
x = int(ip[1])
if (k*500 >= 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):
I = input().split(" ")

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

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

k = k * 500

if 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=[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 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 = 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 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):
import sys
bbn=1000000007
	


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

isTest=False

def pa(v):
	if isTest:
		print(v)

if __name__ == "__main__":
	if sys.platform =='ios':
		sys.stdin=open('inputFile.txt')
		isTest=True
	else:
		pass
		
			
	ret = main()
	if ret is not None:
		print(ret)

Solution (Python):
k, x = map(int, input().split())
money = 500 * k
if money >= 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 >= 0:
    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 = [int(i) for i in input().split()]
print("Yes" if 500*K>=X else "No")

Solution (Python):
from collections import defaultdict,deque
import sys,heapq,bisect,math,itertools,string,queue,copy,time
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 = inpl()
if K*500 >= X:
    print("Yes")
else:
    print("No")

Solution (Python):
from heapq import heappush,heappop,heapify
from collections import deque,defaultdict,Counter
import itertools
from itertools import permutations,combinations,groupby
import sys
import bisect
import string
import math
import time
import random
def S_():
    return input()
def LS():
    return [i for i in input().split()]
def I():
    return int(input())
def MI():
    return map(int,input().split())
def LI():
    return [int(i) for i in input().split()]
def LI_():
    return [int(i)-1 for i in input().split()]
def NI(n):
    return [int(input()) for i in range(n)]
def NI_(n):
    return [int(input())-1 for i in range(n)]
def StoI():
    return [ord(i)-97 for i in input()]
def ItoS(nn):
    return chr(nn+97)
def LtoS(ls):
    return ''.join([chr(i+97) for i in ls])
def GI(V,E,Directed=False,index=0):
    org_inp=[]
    g=[[] for i in range(n)]
    for i in range(E):
        inp=LI()
        org_inp.append(inp)
        if index==0:
            inp[0]-=1
            inp[1]-=1
        if len(inp)==2:
            a,b=inp
            g[a].append(b)
            if not Directed:
                g[b].append(a)
        elif len(inp)==3:
            a,b,c=inp
            aa=(inp[0],inp[2])
            bb=(inp[1],inp[2])
            g[a].append(bb)
            if not Directed:
                g[b].append(aa)
    return g,org_inp
def bit_combination(k,n=2):
    rt=[]
    for tb in range(n**k):
        s=[tb//(n**bt)%n for bt in range(k)]
        rt+=[s]
    return rt
def show(*inp,end='\n'):
    if show_flg:
        print(*inp,end=end)
YN=['Yes','No']
mo=10**9+7
inf=float('inf')
l_alp=string.ascii_lowercase
u_alp=string.ascii_uppercase
ts=time.time()

input=lambda: sys.stdin.readline().rstrip()
import fractions
gcd=fractions.gcd
def ran_input():
    import random
    n=random.randint(4,16)
    rmin,rmax=1,10
    a=[random.randint(rmin,rmax) for _ in range(n)]
    return n,a

show_flg=False
show_flg=True

ans=0
k,x=LI()
if k*500>=x:
    ans='Yes'
else:
    ans='No'

print(ans)

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

k = k * 500 

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

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

k = k * 500 

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

Solution (Python):
K, X = (int(x) for x in input().split())

calc = 500 * K

if calc >= X:
    print('Yes')
else:
    print('No')
    pass

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

k = k * 500 

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

Solution (Python):
K,X = (int(x) for x in input().split())

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

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

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

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

Solution (Python):

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

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

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

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

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

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

k = k * 500 

if k >= 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())
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):
IN = list(map(int, input().split()))
K = IN[0]
X = IN[1]

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

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

k = k * 500 

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

Solution (Python):


VALUE = 500

stdin = input()
args = stdin.split(' ')

num = int(args[0])
if num < 1 or num > 100:
    assert False, 'Invalid value'

threshold = int(args[1])
if threshold < 1 or threshold > 10**5:
    assert False, 'Invalid value'

result = 'Yes' if num * VALUE >= threshold else 'No'
print(result)

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

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

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

Solution (Python):
in1 = input().strip().rsplit(" ")

if 500*int(in1[0]) < int(in1[1]):
  print("No")
else:
  print("Yes")

Solution (Python):
import sys
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines

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

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

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):


num_of_coins, border = (int(n) for n in input().split())
if 500 * num_of_coins >= border:
  print("Yes")
else:
  print("No")

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

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

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

Solution (Python):
K, X = map(int, input().split())
if X <= 500*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):
maisu , sogaku = map(int,input().split())

goukei = maisu * 500

if goukei>=sogaku:
  print('Yes')
else:
  print('No')

Solution (Python):
n = 500
x, y = map(int, input().split())
if x*n >= y: 
    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())
p = k * 500

if p >= 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(' '))
r = 'Yes' if k * 500 >= x else 'No'
print(r)

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

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

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):

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):
N,M=[int(s) for s in input().split()]
if 500*N<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 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):
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())

print("Yes" if K * 500 >= 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("No")
else:
  print("Yes")

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()))
 
K = A[0]
X = A[1]
 
money = K*500
 
if X <= money:
	print ("Yes")
else:
	print("No")

Solution (Python):
K,X = map(int, input().split())
if ((K >= 1) and (K <= 100)) and ((X >=1) and (X <= 100000)):
  tmp = K * 500
  if tmp >= X: print("Yes")
  else: print("No")

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

Solution (Python):
K, X = input().split()
K, X = int(K), int(X)
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 ((K >= 1) and (K <= 100)) and ((X >=1) and (X <= 100000)):
  tmp = K * 500
  if tmp >= 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())
sum = k * 500

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

Solution (Python):
[k,x] = [int(i) for i 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(" "))
print("Yes" if 500*K>=X else "No")

Solution (Python):
[s,t] = [int(x) for x in 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):
num, max = input().split()
if (int(num) * 500 >= int(max)):
    print('Yes');
else:
    print('No');

Solution (Python):
import sys
input = sys.stdin.readline

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 >= 0  :
  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 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):
x,n=map(int,input().split())
if(x*500)>=n:
  print("Yes")
else:
  print("No")

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

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

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

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

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

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

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

if (500 * num[0] >= num[1]):
    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 = list(map(int, input().split()))

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

Solution (Python):

k,x=map(int,input().split())
s=500*k
print("Yes" if x<=s 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())

total = 500 * K

if total >= 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):
x = input().split()
K = int(x[0])
X = int(x[1])

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

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

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

main()

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

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

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

Knew = 500*K

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

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

if __name__ == "__main__":
    main()

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

if yen >= 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().strip().split())
if K*500>=X:
  print('Yes')
else:
  print('No')

Solution (Python):


import sys
sys.setrecursionlimit(10**6)
readline = sys.stdin.readline
read = sys.stdin.read


k,x = [int(i) for i in readline().split()]


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

Solution (Python):
K,X= map(int,input().split())
ANS = K * 500
if ANS >= 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):
from fractions import gcd

from heapq import*
import math
from collections import defaultdict, Counter, deque
from bisect import *
import itertools
import fractions


MOD = 10 ** 9 + 7



def lcm(a, b):
    return a * b / fractions.gcd(a, b)

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

    
    
    
    
    
    
    
    



    


if __name__ == '__main__':
    main()

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())
result = K*500
if result >= X:
    print("Yes")
else:
    print("No")

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

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

def main():
    coin = 500
    if X <= coin*K:
        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):
def f(K,X):
  
  M = K*500
  if M>=X:
    return 'Yes'
  else:
    return 'No'
K,X=map(int,input().split())
print(f(K,X))

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 print('No')

Solution (Python):
a = input().split()
preres = int(a[0]) * 500
more = int(a[1])
if preres >= more:
  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):
num = input().split()
if int(num[0])*500 >= int(num[1]):
    print("Yes")
else: 
    print("No")

Solution (Python):
a = input()
l = a.split()
num = 500 * int(l[0])
pri = int(l[1])
if num < pri:
  print("No")
else:
  print("Yes")

Solution (Python):
k,x=[int(i) for i in 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):
inp = input()
arr = [int(i) for i in inp.split() if i.isdigit()]
total = arr[0]*500
if total >= arr[1]:
    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] = [int(x) for x in input().split()]
if K * 500 >= 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())
if (500*K) >= X:
  print('Yes')
else:
  print('No')

Solution (Python):
a,b=map(int, input().split())
 
if (1<=a and a<=100) and (1<= b and b<=100000) :
    if a*500 >= b:
        print("Yes")
    else:
        print("No")
else:
	print("input value is too large")

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

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

Solution (Python):
import sys
input = sys.stdin.readline


class AtCoder:
    def main(self):
        K, X = map(int, input().split())

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


if __name__ == '__main__':
    AtCoder().main()

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())

if X <= 500 * K:
    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):
import sys
input = sys.stdin.readline

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

amount = 500 * K

if amount >= 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())
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):
a = list(map(int,input().split()))

k = a[0]
x = a[1]

res = 500 * k - x

if(res >= 0):
    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,b = map(int,input().split())
if b-a*500<=0:
  print("Yes")
else:
  print("No")

Solution (Python):
k,x = input().split()
if int(k)*500 >= int(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())
ans = "Yes" if 500*K >= X else "No"
print(ans)

Solution (Python):
a,b=map(int,input().split())
if  (a * 500) < b:
    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):
import sys
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines

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

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

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

Solution (Python):
tmp = input().split(" ")
K = int(tmp[0])
X = int(tmp[1])
if K*500 >= X:
  print("Yes")
else:
  print("No")

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

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

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

Solution (Python):
mynum, value = map(int, input().split())

coin = 500

if coin * mynum >= value:
    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=list(map(int,input().split(' ')))
if X>K*500:
    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())

K = K*500
if(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())
a = 500 * K
if a >= 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):
k,x = map(int,input().split())

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

Solution (Python):


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

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

b = b/a

if b<=500:
    print("Yes")
else:
    print("No")

Solution (Python):
A,B = map(int, input().split())

ans  = 500*A - B

if ans >= 0:
    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,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):
k, x = [int(v) for v in input().split()]

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

Solution (Python):
[k, x] = [int(x) for x in input().split()]
print("Yes") if 500*k >= x 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("No" if 500*K<X else "Yes")

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

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