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

Solution (Python):

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

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

main()

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

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

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

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

m = K * 500

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

Solution (Python):





def solv(K, X):
    if 500 * K >= X:
        return "Yes"
    else:
        return "No"


if __name__ == "__main__":

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

    print(ans)

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

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

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

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

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

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

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

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

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

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

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

print(a)

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

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

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

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

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

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

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

Solution (Python):
"""
author : halo2halo
date : 4, Feb, 2020
"""

import sys






read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines

N, K = map(int, read().decode('utf8').split())
print('Yes' if 500*N>=K else 'No')

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

Solution (Python):

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

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

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

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

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

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

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

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

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

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

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

K = 500 * k

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

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

if 500*x-y>=0:
    print("Yes")
else:
        print("No")

Solution (Python):
import sys,collections as cl,bisect as bs
sys.setrecursionlimit(100000)
input = sys.stdin.readline
mod = 10**9+7
Max = sys.maxsize
def l(): 
    return list(map(int,input().split()))
def m(): 
    return map(int,input().split())
def onem(): 
    return int(input())
def s(x): 
    a = []
    aa = x[0]
    su = 1
    for i in range(len(x)-1):
        if aa != x[i+1]:
            a.append([aa,su])
            aa = x[i+1]
            su = 1
        else:
            su += 1
    a.append([aa,su])
    return a
def jo(x): 
    return " ".join(map(str,x))
def max2(x): 
    return max(map(max,x))
def In(x,a): 
    k = bs.bisect_left(a,x)
    if k != len(a) and a[k] ==  x:
        return True
    else:
        return False
"""
def nibu(x,n,r):
    ll = 0
    rr = r
    while True:
        mid = (ll+rr)//2

    if rr == mid:
        return ll
    if (ここに評価入れる):
        rr = mid
    else:
        ll = mid+1
"""



n,m = m()

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

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

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

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

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

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

Solution (Python):
import sys
from io import StringIO
import unittest

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

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

    return

resolve()

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

total = int(K) * 500

if total >= int(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 = input().split()

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

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

K = a[0]
X = a[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):
a,x=[int(i) for i in input().split()];k=a*500
print('Yes' if 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):
def main():
    K, X = map(int, input().split())
    if 500 * K >= X:
        print('Yes')
    else:
        print('No')

if __name__ == '__main__':
    main()

Solution (Python):
l = input().split(" ")
k = int(l[0])
x = int(l[1])
nedan = 500 * k

if nedan >= 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())
print("Yes" if 500*a>=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())

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

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

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

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

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

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

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

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())
k = K * 500

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




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

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

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

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

K, X = MAP()

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

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

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

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

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

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

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

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

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

Solution (Python):


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

s=500*k

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

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

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

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

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

Solution (Python):
a,b=map(int,input().split())
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):
n, k = map(int,input().split())

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

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

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):
import sys
import numpy as np
 
if sys.platform =='ios':
    sys.stdin=open('input_file.txt')
 
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().rstrip().split(" "))
if 500 * K >= X:
  print("Yes")
else:
  print("No")

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

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

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

Solution (Python):
from functools import lru_cache
import sys

sys.setrecursionlimit(10**8)

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

@lru_cache(maxsize=None)
def dp(k,x):
    if k*500 < x:
        result = 'No'
    else:
        result = 'Yes'
    return result
print(dp(K,X))

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

Solution (Python):

import sys
input = sys.stdin.buffer.readline


from collections import defaultdict

con = 10 ** 9 + 7

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


def main():
	K, X = getlist()
	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):
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 X <= 500 * K:
    print("Yes")
    exit()
print("No")

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

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

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

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

def read_ints(row):
    return list(map(int, row().split()))
  
K,X = read_ints(row)
print("Yes" if K * 500 >=  X else "No")

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

Solution (Python):
import sys


def solve(inp):
    (K, X) = map(int, inp.readline().strip().split(' '))

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


def main():
    result = solve(sys.stdin)
    if result:
        print(result)


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

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

Solution (Python):

import sys
import math
from bisect import bisect_left
from bisect import bisect_right
import collections
import copy
import heapq
from collections import defaultdict
from heapq import heappop, heappush
import itertools
input = sys.stdin.readline






















def inputInt(): return int(input())
def inputMap(): return map(int, input().split())
def inputList(): return list(map(int, input().split()))

def main():
	K, X = inputMap()

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


if __name__ == "__main__":
	main()

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

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

Solution (Python):
lst = list(map(int, input().split()))
if 500*lst[0] >= lst[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 = 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=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('YNeos'[500*k<x::2])

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):
import sys
input = sys.stdin.readline

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




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

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

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

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

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



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

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


if __name__ == '__main__':
    main()

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

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

total = K * 500

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

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

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

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

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

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

Solution (Python):

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

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

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

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

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



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

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

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

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

Solution (Python):

import sys
sys.setrecursionlimit(10000000)
INF = 1<<32

YES = "Yes"  
NO = "No"  

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

Solution (Python):

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


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

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

Solution (Python):

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


if __name__ == "__main__":
    main()

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

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

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

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

print(["No", "Yes"][500*K >= X])

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

Solution (Python):

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

Solution (Python):

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

Solution (Python):

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

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

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

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

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

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

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

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

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