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-----
2 900

-----Sample Output-----
Yes

Two 500-yen coins add up to 1000 yen, which is not less than X = 900 yen.

Difficulty: introductory

Starter code:

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

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

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

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

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

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

#150-A

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

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

else:
    print("No")


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

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

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

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


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

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

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

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

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

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


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

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

num500, total = map(int, input().split())
print('Yes' if num500 * 500 >= total else 'No')

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

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

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

else:
    print("No")

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

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

k,x=map(int,input().split())
print(['No','Yes'][500*k>=x])

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

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

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

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

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

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


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

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

k,x=(int(y) for y in input().split())

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

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

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

a,b=input().split();print('YNeos'[eval(a+'*500<'+b)::2])

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

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


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

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

import sys
K, X = map(int, next(sys.stdin).split())
print('Yes' if K * 500 >= X else 'No')

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

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

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

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

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

#!/usr/bin/env python3

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


def __starting_point():
    main()

__starting_point()

ri = lambda S: [int(v) for v in S.split()]
def rii(): return ri(input())
 
K, X = rii()

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


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

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


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

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

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

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

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

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


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

def __starting_point():
    main()
__starting_point()

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

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

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

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

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

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

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

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


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

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

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


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

import math
from collections import Counter
from itertools import product

ii = lambda : int(input())
mi = lambda : map(int,input().split())
li = lambda : list(map(int,input().split()))

k,x = mi()

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

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

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

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

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


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

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

import sys
input = sys.stdin.readline

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

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


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

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

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

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

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

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

n=input()
x=n.split()
if 500*int(x[0])>=int(x[1]):
  print('Yes')
elif 500*int(x[0])<int(x[1]):
  print('No')

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

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

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

# coding: utf-8
# Your code here!
k,x=map(int,input().split())
if 500*k>=x:
    print("Yes")
else:
    print("No")

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

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


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

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

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

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

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

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

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

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

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

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


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

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

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

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

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

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


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

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

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

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


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

a,s=list(map(int, input().split()))

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


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

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

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

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

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

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

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

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

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

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

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

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