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):
import math,string,itertools,fractions,heapq,collections,re,array,bisect,sys,copy,functools
import time,random

sys.setrecursionlimit(10**7)
inf = 10**20
eps = 1.0 / 10**10
mod = 10**9+7
mod2 = 998244353
dd = [(-1,0),(0,1),(1,0),(0,-1)]
ddn = [(-1,0),(-1,1),(0,1),(1,1),(1,0),(1,-1),(0,-1),(-1,-1)]

def LI(): return list(map(int, sys.stdin.readline().split()))
def LLI(): return [list(map(int, l.split())) for l in sys.stdin.readlines()]
def LI_(): return [int(x)-1 for x in sys.stdin.readline().split()]
def LF(): return [float(x) for x in sys.stdin.readline().split()]
def LS(): return sys.stdin.readline().split()
def I(): return int(sys.stdin.readline())
def F(): return float(sys.stdin.readline())
def S(): return input()
def pf(s): return print(s, flush=True)
def pe(s): return print(str(s), file=sys.stderr)
def JA(a, sep): return sep.join(map(str, a))
def JAA(a, s, t): return s.join(t.join(map(str, b)) for b in a)


def main():
    k,x = LI()
    if k*500 >= x:
        return 'Yes'

    return 'No'


print(main())

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

Solution (Python):
c,s = (int(x)for x in input().split())
if c * 500 >= s:
    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):
KX = input().split()
K = int(KX[0])
X = int(KX[1])

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

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

Solution (Python):
k, x = 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 500*K >= X else "No"))

Solution (Python):

import numpy as np
def fnSolv():
  iK, iX = map(int , input().split() )
  if 500 * iK >= iX:
    print('Yes')
  else:
    print('No')

if __name__ == '__main__':
  fnSolv()

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

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

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

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

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

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

Solution (Python):
s=raw_input()
s=s.split()
s[0]=int(s[0])
s[1]=int(s[1])
if s[1]<=s[0]*500:
 a="Yes"
else:
 a="No"
print(a)

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

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

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

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

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

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

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

Solution (Python):
tar, max = map(int, input().split())
if max <= tar*500:
  print('Yes')
else:
  print('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())

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

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

if k*500 >= x:
  ans = 'Yes'

print(ans)

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

Solution (Python):
nums = input().split()

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

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

Solution (Python):
numbers = input().split(' ')
a = int(numbers[0])
b = int(numbers[1])

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

Solution (Python):
if __name__ == '__main__':
    temp = input().split(' ')
    k = int(temp[0])
    x = int(temp[1])
    if k * 500 >= x:
        print('Yes')

    else:
        print('No')

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

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

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

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

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

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

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

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

Solution (Python):
print(['No','Yes'][eval('500*'+input().replace(' ','>='))])

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

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

Solution (Python):
import math
import calendar
import fractions

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 K*500 >= X else 'No')

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

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

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

    print(ans)

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

INPUT = lambda: sys.stdin.readline().rstrip()
MAP = lambda: map(int, INPUT().split())

sys.setrecursionlimit(10 ** 9)


def main():
    K, X = MAP()
    print('Yes' if K*500 >= X else 'No')


if __name__ == '__main__':
    main()

Solution (Python):
INPUT = list(map(int, input().split()))
K = INPUT[0]
X = INPUT[1]

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 re
import os,sys

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

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

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

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

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

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

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

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

Solution (Python):
x,y=list(map(int,input().split()))
if x*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):
k, x = map(int, 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):
k, x = input().split()
if 500 * int(k) >= int(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()))
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):
from sys import stdin
k, x = map(int, stdin.readline().rstrip().split())

total = 500 * k

if total < x:
    answer = "No"
else:
    answer = "Yes"

print(answer)

Solution (Python):


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

Solution (Python):


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

K, X = read_int_n()

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

Solution (Python):
def solve(string):
    k, x = map(int, string.split())
    return "Yes" if k * 500 >= x else "No"


if __name__ == '__main__':
    import sys
    print(solve(sys.stdin.read().strip()))

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

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

Solution (Python):
a, b= map(int, input().split())
if a*500>=b:
    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):
i = input()
s = i.split(' ')
K = int(s[0])
X = int(s[1])
if 500*K>=X:
  print('Yes')
else:
  print('No')

Solution (Python):
import sys

K, X = [int(v) for v in sys.stdin.readline().split()]

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

Solution (Python):
K,X=map(int,raw_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, 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 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 = [int(x) for x in input().split()]

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

Solution (Python):




inp_word = input()


K,X = inp_word.split()


sum = 500 * int(K)


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

Solution (Python):




import sys

inp_word = input()


K,X = inp_word.split()


sum = 500 * int(K)


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

Solution (Python):
k, x = map(int, input().split())
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())
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):
import sys
input = sys.stdin.readline

k, x = [int(x) for x in input().rstrip().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())

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
MAX_INT = int(10e12)
MIN_INT = -MAX_INT
mod = 1000000007
sys.setrecursionlimit(1000000)
def IL(): return list(map(int,input().split()))
def SL(): return input().split()
def I(): return int(sys.stdin.readline())
def S(): return input()

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

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

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

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

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

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

Solution (Python):


import sys
import math
import time
import numpy as np
import collections


KX = str(raw_input()).split()
K = int(KX[0])
X = int(KX[1])

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):
def main():
    n,m = map(int,input().split())
    if n*500 >= m:
        print('Yes')
    else:
        print('No')
if __name__=='__main__':
    main()

Solution (Python):
k, y = map(int, raw_input().split())
if k * 500 >= 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,M=map(int,input().split())
if K*500>=M:
  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,n = map(int,input().split())
print('Yes' if k*500 >= n 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())

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

Solution (Python):

from collections import defaultdict,deque
from heapq import heappush, heappop
from bisect import bisect_left, bisect_right
import sys, random, itertools, math
sys.setrecursionlimit(10**5)
input = sys.stdin.readline
sqrt = math.sqrt
def LI(): return list(map(int, input().split()))
def LF(): return list(map(float, input().split()))
def LI_(): return list(map(lambda x: int(x)-1, input().split()))
def II(): return int(input())
def IF(): return float(input())
def LS(): return list(map(list, input().split()))
def S(): return list(input().rstrip())
def IR(n): return [II() for _ in range(n)]
def LIR(n): return [LI() for _ in range(n)]
def FR(n): return [IF() for _ in range(n)]
def LFR(n): return [LI() for _ in range(n)]
def LIR_(n): return [LI_() for _ in range(n)]
def SR(n): return [S() for _ in range(n)]
def LSR(n): return [LS() for _ in range(n)]
mod = 1000000007
inf = float('INF')


def solve():
    k, x = LI()
    if k * 500 >= x:
        print("Yes")
    else:
        print("No")
    return



if __name__ == '__main__':
    solve()

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

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

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

Solution (Python):
n,k=map(int,input().split())
print("YNeos"[n*500<k::2])

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

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

Solution (Python):
k, x = [int(s) for s in input().split()]
print("YNeos"[int(not 500*k>=x)::2])

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

Solution (Python):
import sys
import math
import heapq
sys.setrecursionlimit(10**7)
INTMAX = 9223372036854775807
INTMIN = -9223372036854775808
DVSR = 1000000007
def POW(x, y): return pow(x, y, DVSR)
def INV(x, m=DVSR): return pow(x, m - 2, m)
def DIV(x, y, m=DVSR): return (x * INV(y, m)) % m
def LI(): return [int(x) for x in input().split()]
def LF(): return [float(x) for x in input().split()]
def LS(): return input().split()
def II(): return int(input())
def FLIST(n):
    res = [1]
    for i in range(1, n+1): res.append(res[i-1]*i%DVSR)
    return res
def gcd(x, y):
    if x < y: x, y = y, x
    div = x % y
    while div != 0:
        x, y = y, div
        div = x % y
    return y

K,X=LI()

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

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

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

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

Solution (Python):
def wczytaj_liste(): 
    wczytana_lista = input()
    lista_znakow = wczytana_lista.split()
    ostateczna_lista = []
    for element in lista_znakow:
        ostateczna_lista.append(int(element))
    return ostateczna_lista 

def yen_coins():
    X, K = wczytaj_liste()
    if X * 500 >= K:
        print("Yes")
    else: 
        print("No")
        
yen_coins()

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

if rest >= b:
   ans = "Yes"
else:
   ans = "No"

print(ans)

Solution (Python):
inp = input().split()
K = int(inp[0])
X = int(inp[1])



result = "Yes"

if K * 500 < X:
  result = "No"
  
print(result)

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:
    ans = 'Yes'
else:
    ans = 'No'

print(ans)

Solution (Python):
import sys

def input():
    return sys.stdin.readline()[:-1]

N,M = map(int,input().split(' '))
if N*500>=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):
k, x = map(int, input().split())
if 500*k >= 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):
a,b=map(int,input().split())
print('Yes' if a*500 >= b 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())
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(_) for _ in 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):
a = list(map(int, input().split()))
K = a[0]
X = a[1]

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

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

Solution (Python):
a,b = [int(i) for i in 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, y = (int(x) for x in input().split())

if 500 * k < y:
    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 500*k >= 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())
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 "No" )

Solution (Python):
INT = lambda: int(input())
INTM = lambda: map(int,input().split())
STRM = lambda: map(str,input().split())
STR = lambda: str(input())
LIST = lambda: list(map(int,input().split()))
LISTS = lambda: list(map(str,input().split()))
def do():
    k,x=INTM()
    if k*500>=x:
        print('Yes')
    else:
        print('No')
if __name__ == '__main__':
    do()

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

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

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


if __name__ == "__main__":
    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):
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):
n, boarder = [int(x) for x in input().split(' ')]
print('Yes' if (500 * n) >= boarder else '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 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("Yes")
else:
  print("No")

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

Solution (Python):


a = list(map(int, input().split()))
print('Yes') if (500 * a[0] >= a[1]) 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):
K,X= map(int,input().split())

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

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

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

else:
    print('No')

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

if int(x) <= int(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=map(int, input().split())
print("YNeos"[k*500<x::2])

Solution (Python):

import sys

YES = "Yes"  
NO = "No"  


def solve(K: int, X: int):
    print(YES if 500*K>=X else 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):
read = input 
rn = lambda :list(map(int, read().split()))
k, x = rn()
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")