Problem:
 Score : 100 points    Problem Statement Takahashi has K  500 -yen coins. (Yen is the currency of Japan.)
If these coins add up to X yen or more, print Yes ; otherwise, print No .      Constraints  1 \leq K \leq 100  1 \leq X \leq 10^5         Input Input is given from Standard Input in the following format:  K  X       Output If the coins add up to X yen or more, print Yes ; otherwise, print No .        Sample Input 1 2 900      Sample Output 1 Yes  Two 500 -yen coins add up to 1000 yen, which is not less than X = 900 yen.       Sample Input 2 1 501      Sample Output 2 No  One 500 -yen coin is worth 500 yen, which is less than X = 501 yen.       Sample Input 3 4 2000      Sample Output 3 Yes  Four 500 -yen coins add up to 2000 yen, which is not less than X = 2000 yen.

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

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

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

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

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

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

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

Solution (Python):
import sys
input = sys.stdin.readline
sys.setrecursionlimit(10 ** 7)

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

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

Solution (Python):
import sys

stdin = sys.stdin

ni = lambda: int(ns())
na = lambda: list(map(int, stdin.readline().split()))
ns = lambda: stdin.readline().rstrip()  

k, x = na()
print('Yes') if 500 * k >= x 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 = 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())

y = 500*k

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

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())
print(["No", "Yes"][500 * k >= x])

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

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

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

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

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

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

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 math
from collections import deque
def main():
    t = [int(t)for t in input().split()]
    k,x = t[0],t[1]

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

if __name__ == "__main__":
    main()

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

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

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

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

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

sum_500 = 500 * k

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

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

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

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

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

main()

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

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

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

if __name__ == "__main__":
    main()

Solution (Python):


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

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

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

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

Solution (Python):
import sys

INF = 1001001001

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

  return

if __name__ == "__main__":
    resolve()

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

else:
    print("No")

Solution (Python):

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

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

if R <= N *500:
    print('Yes')
else:
    print('No')

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

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

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

Solution (Python):


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

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

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

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

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

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

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

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

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

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

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

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

print(ans)

Solution (Python):
a,c=map(int,input().split())
if(500*a>=c):
    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
import math
import itertools

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

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

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

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

Solution (Python):
money,sum=map(int,input().split())
money500=500*money
if money500>=sum:
    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] = 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):
'''
https://atcoder.jp/contests/abc150/tasks/abc150_c
'''
def main():
    import sys
    
    sys.setrecursionlimit(10000000)
    from collections import Counter, deque
    
    from itertools import combinations, permutations
    
    from math import floor, ceil
    

    

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

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())
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('YNeos'[x>500*k::2])

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

Solution (Python):



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

if 500*n - value >= 0 : 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 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())

sum = 500 * a

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

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

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

Solution (Python):
import sys

input = sys.stdin.readline
MOD = 10**9 + 7
INF = float('INF')

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

if __name__ == '__main__':
    main()

Solution (Python):

import sys

YES = "Yes"  
NO = "No"  


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



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

if __name__ == '__main__':
    main()

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

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

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

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

Solution (Python):
import sys


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


if __name__ == '__main__':
    solve()

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

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

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

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

Solution (Python):
import math
from functools import reduce
from collections import deque
import sys
sys.setrecursionlimit(10**7)


def get_nums_l():
    return [ int(s) for s in input().split(" ")]


def get_nums_n(n):
    return [ int(input()) for _ in range(n)]


def get_all_int():
    return map(int, open(0).read().split())

def log(*args):
    print("DEBUG:", *args, file=sys.stderr)

k,x = get_nums_l()

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

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

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

Solution (Python):
import sys
input = lambda: sys.stdin.readline().rstrip()
input_nums = lambda: list(map(int, input().split()))

K, X = input_nums()

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

Solution (Python):






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

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


main()

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

if num>=x:
    print("Yes")

else:
    print("No")

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

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

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

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

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

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

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

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

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

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

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

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

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

Solution (Python):


[a, b] = [int(x) for x in input().split()]

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

Solution (Python):


[a, b] = [int(x) for x in 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):
import sys

sys.setrecursionlimit(1000000)
input = lambda: sys.stdin.readline().rstrip()

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

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

sum = 500*num[0]

if num[1] <= sum:
  print("Yes")
else:
  print("No")

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

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

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

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

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

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

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

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

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

yen = K*500

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

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

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

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

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

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

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

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

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

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

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

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

sumK = K * 500

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

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

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

Solution (Python):
def main():
    K, X = map(int, open(0).read().split())
    print("Yes" if X <= 500 * K else "No")
    return


main()

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

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

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

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

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

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

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

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

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

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

Solution (Python):
def main():
	n,m = map(int,input().split())
	
	
	yen = 500 * n

	if yen >= m:
		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):
import sys
import socket

hostname = socket.gethostname()

if hostname == 'F451C':
    sys.stdin = open('a1.in')


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


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


def read_int():
    return int(input())


def read_str():
    return input()


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


main()

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

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

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

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

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

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

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

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

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

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

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

Solution (Python):
Co,Am=map(int,input().split())

if Co*500>=Am:
    print('Yes')
else:
    print('No')

Solution (Python):
kx = input()
kxkx = kx.split()

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

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

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

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

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

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):
x,y = [int(i) for i in input().split(' ')]

if 500 * x >= 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):
input_list = input().split()
(k_int, x_int) = (int(input_list[0]), int(input_list[1]))

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

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

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

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

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

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

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

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

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

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

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

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

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

n = k * 500

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

Solution (Python):
N,M = (int(x) for x in 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):
import sys
sys.setrecursionlimit(12345678)
import itertools
from collections import Counter
from collections import defaultdict
from collections import deque
import bisect
from heapq import heappush, heappop


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

if __name__ == '__main__':
    main()