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 = input().strip().split()
a = int(a)
b = int(b)
p = 500 * a
if p >= 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):


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

Solution (Python):


"""
name: A-500.py
プログラムの説明
"""

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

if __name__ == '__main__':
    main()

Solution (Python):
KX = input().split()
K = int(KX[0])
X = int(KX[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):
import sys

def main():
	
	
	
	k, s = map(int, input().split())
	
	mk = k * 500
	if mk >= s:
		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):
n, m = [int(x) for x in input().split()]
n *= 500
if n >= 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):
X, Y = map(int, input().split())
if 500*X >= Y:
    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 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):
X,K = map(int,input().split())

if 500*X >= 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,y=input().split()
coin=int(k)*500
if coin>=int(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())
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("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()))
print("Yes" if 500*k - x >= 0 else "No")

Solution (Python):

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

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

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

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

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

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


if __name__ == "__main__":
    resolve()

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 X <= 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):
k, x = map(int, input().split())

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

Solution (Python):
from sys import stdin


k,x = map(int, stdin.readline().rstrip().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())

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 bisect
import cmath
import heapq
import itertools
import math
import operator
import os
import re
import string
import sys
from collections import Counter, deque, defaultdict
from copy import deepcopy
from decimal import Decimal
from fractions import gcd
from functools import lru_cache, reduce
from operator import itemgetter, mul, add, xor

import numpy as np

if os.getenv("LOCAL"):
    sys.stdin = open("_in.txt", "r")

sys.setrecursionlimit(10 ** 9)
INF = float("inf")
IINF = 10 ** 18
MOD = 10 ** 9 + 7



k, x = list(map(int, sys.stdin.buffer.readline().split()))
ok = 500 * k >= x
if ok\
        :
    print('Yes')
else:
    print('No')

Solution (Python):


from collections import deque, defaultdict
import itertools as ite
import sys
import math
from decimal import *

sys.setrecursionlimit(1000000)

INF = 10 ** 18
MOD = 10 ** 9 + 7

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

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

Solution (Python):
from sys import stdin
K, X = [int(_) for _ in stdin.readline().rstrip().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 = list(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):
from heapq import heappush, heappop
from collections import deque
import re
import math
import functools


def sRaw():
    return input().rstrip("\r")


def iRaw():
    return int(input())


def ssRaw():
    return input().split()


def isRaw():
    return list(map(int, ssRaw()))


INF = 1 << 29


def mk1d(n, val=INF):
    return [val for i in range(n)]

def mk2d(h, w, val=INF):
    return [[val for i in range(w)]for i in range(h)]

DIV = 998244353


def convolve(a, b):
    p, g = 1107296257, 5
    n0, n1 = len(a), len(b)
    n = 1 << (max(n0, n1) - 1).bit_length() + 1
    a = a + [0] * (n-n0)
    b = b + [0] * (n-n1)
    w = pow(g, (p - 1) // n, p)
    invw = pow(w, p-2, p)

    def fft(f):
        d = n // 2
        v = w
        while d >= 1:
            u = 1
            for i in range(d):
                for j in range(i, n, 2*d):
                    f[j], f[j+d] = (f[j] + f[j+d]) % p, u * (f[j] - f[j+d]) % p
                u = u * v % p
            v = v * v % p
            d //= 2

    def ifft(f):
        d = 1
        while d < n:
            v = pow(invw, n // (2 * d), p)
            u = 1
            for i in range(d):
                for j in range(i, n, 2*d):
                    f[j+d] *= u
                    f[j], f[j+d] = (f[j] + f[j+d]) % p, (f[j] - f[j+d]) % p
                u = u * v % p
            d *= 2

    fft(a), fft(b)
    for i in range(n):
        a[i] = a[i] * b[i] % p
    ifft(a)
    invn = pow(n, p - 2, p)
    return [a[i] * invn % p for i in range(n0 + n1 - 1)]


def main():
    N,M = isRaw()
    ans = "Yes" if 500*N >=M else "No"
    return ans

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

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

if n[0]*500>=n[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())
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
import math
from collections import defaultdict

sys.setrecursionlimit(10**7)
def input():
    return sys.stdin.readline()[:-1]

mod = 10**9 + 7

def I(): return int(input())
def II(): return map(int, input().split())
def III(): return list(map(int, input().split()))
def Line(N,num):
    if N<=0:
        return [[] for _ in range(num)]
    elif num==1:
        return [I() for _ in range(N)]
    else:
        read_all = [tuple(II()) for _ in range(N)]
        return map(list, zip(*read_all))



K,X = II()

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

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

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

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

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

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

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


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 = map(int, input().split())

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

Solution (Python):
K, X = tuple(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 (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 = list(map(int, input().split()))

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

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

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

Solution (Python):
K, X = map(int, input().split())
MAX = K  * 500
if MAX >= 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):
i=list(map(int,input().split()))
k=i[0]
x=i[1]
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, n = map(int,input().split())

if k * 500 >= n:
  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 = input().split()
a, b = int(a), int(b)
print("Yes") if a * 500 >= b 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, b = list(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 = [int(elem) for elem in input().split()]

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

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

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

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

Solution (Python):
K, X = list(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('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
input = sys.stdin.readline

K, X = [int(x) for x in 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
readline = sys.stdin.readline

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

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

k, x = map(int, input().split())
print(solve(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())

if 500 * K >= X:
    ans = 'Yes'
else:
    ans = 'No'

print(ans)

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

Solution (Python):
import sys
sys.setrecursionlimit(2147483647)
INF=float("inf")
MOD=10**9+7 
input=lambda:sys.stdin.readline().rstrip()
def resolve():
    k,x=map(int,input().split())
    print("Yes" if(500*k>=x) else "No")
resolve()

Solution (Python):
import sys

k, x = map(int, sys.stdin.readline().split())

def main():
    return 'Yes' if 500 * k >= x else 'No'

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

Solution (Python):

cnt, maxs = list(map(int, input().split()))
print('Yes' if cnt * 500 >= maxs else 'No')

Solution (Python):
print('YNeos'['1'in input()[1:]::2])

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

Solution (Python):
print('YNeos'['1'in input()[1:]::2])

Solution (Python):
print('YNeos'[input()[1:].find('1')>=0::2])

Solution (Python):
import re;print(re.search('.1',input())and'No'or'Yes')

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):
import re;print(re.search('[12].*1',input())and'No'or'Yes')

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



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

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



text = "No"
 
if k*500>=x:
  text = "Yes"
  
print(text +"\n")

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

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

Solution (Python):
s = input().rstrip().split()
K,X =int(s[0]),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 = map(int, input().split())

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

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

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

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

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

print('Yes') if(num * 500 >= max) else print('No')

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

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

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

Solution (Python):
import sys

input = sys.stdin.readline

ri = lambda: int(input())
rs = lambda: input().rstrip()
ril = lambda: list(map(int, input().split()))
rsl = lambda: input().rstrip().split()
ris = lambda n: [ri() for _ in range(n)]
rss = lambda n: [rs() for _ in range(n)]
rils = lambda n: [ril() for _ in range(n)]
rsls = lambda n: [rsl() for _ in range(n)]

k, x = ril()
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):
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):
A = input().split()
if 500 * int(A[0]) >= int(A[1]):
  print('Yes')
else:
  print('No')

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

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

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

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

k = k * 500 

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

Solution (Python):
n,x=map(int,input().split())
if 500*n>=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 = [int(x) for x in input().split()]

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

Solution (Python):

import sys
sys.setrecursionlimit(10**5)
input = sys.stdin.readline

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

Solution (Python):

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

result=""


if 500*K>=X:
    result="Yes"
else:
    result="No"

print(result)

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

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

Solution (Python):
K, M = input().split(" ")
K = int(K)
M = int(M)

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

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

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

else:
    print("No")

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

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

Solution (Python):
import sys

input = sys.stdin.readline
line = input().rstrip()
K, X = line.split()


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

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

Solution (Python):
s = raw_input().split()
K = int(s[0])
X = int(s[1])



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

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

k = k * 500 

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

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

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

k = k * 500 

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

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

XX = 500*n

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

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

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

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

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

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

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

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

Solution (Python):

from collections import defaultdict,deque
from heapq import heappush, heappop
from itertools import permutations
import sys
import math
import bisect
import random
def LI(): return [int(x) for x in sys.stdin.readline().split()]
def I(): return int(sys.stdin.readline())
def LS():return [list(x) for x in sys.stdin.readline().split()]
def S():
    res = list(sys.stdin.readline())
    if res[-1] == "\n":
        return res[:-1]
    return res
def IR(n):
    return [I() for i in range(n)]
def LIR(n):
    return [LI() for i in range(n)]
def SR(n):
    return [S() for i in range(n)]
def LSR(n):
    return [LS() for i in range(n)]

sys.setrecursionlimit(1000000)
mod = 1000000007

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


if __name__ == "__main__":
    solve()

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

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

Solution (Python):
k, x = list(map(int, input().rstrip().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):
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")
    exit()
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):
"""
https://atcoder.jp/contests/abc150/tasks/abc150_a
"""
import numpy as np


def calc(K: int, X: int) -> int:
    return 500 * K >= X


def load_input_as_int_array() -> np.ndarray:
    return np.array([int(v) for v in input().split(" ")])


def main() -> None:
    K, X = load_input_as_int_array()
    result = calc(K, X)
    print("Yes" if result else "No")


main()

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


val = []
val = input()

arrays = val.split(' ')
a = int(arrays[0])*500

if a>=int(arrays[1]):
    print("Yes")
elif a<int(arrays[1]):
    print("No")

sys.exit()