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 = 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 "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 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):
inputted = list(map(int, input().split()))
K = inputted[0]
X = inputted[1]

total = 500 * K;
answer = 'Yes' if total >= X else 'No';

print(answer);

Solution (Python):
k,x=map(int,input().split());print("YNeos"[k*500<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 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):
coin,money=map(int,input().split())

if coin*500>=money:
    print('Yes')
else:
    print('No')

Solution (Python):
import os

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

if __name__ == '__main__':
	main()

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

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

Solution (Python):
K, X = map(int, raw_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())

s = 500*k

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


import sys














def main():
    mod = 10000007                  
    inf = float('inf')
    input = sys.stdin.readline      
    sys.setrecursionlimit(10**6)    
    def ii():  return int(input())
    def mi():  return map(int, input().rstrip().split())
    def lmi(): return list(map(int, input().rstrip().split()))
    def li():  return list(input().rstrip())
    
    k, x = mi()
    print("Yes") if k*500>=x else print("No")
    
if __name__ == "__main__":
    main()

Solution (Python):

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

Solution (Python):
from sys import stdin
K, X = [int(x) for x in stdin.readline().rstrip().split()]

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

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

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

Solution (Python):
import sys

sr = lambda: sys.stdin.readline().rstrip()
ir = lambda: int(sr())
lr = lambda: list(map(int, sr().split()))

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

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

ans = 'Yes'
if 500 * k < x:
    ans = 'No'

print(ans)

Solution (Python):

import sys

YES = "Yes"  
NO = "No"  


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



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


if __name__ == '__main__':
    main()

Solution (Python):
from collections import deque
from collections import Counter
from itertools import product, permutations,combinations
from operator import itemgetter
from heapq import heappop, heappush
from bisect import bisect_left, bisect_right, bisect




from fractions import gcd
from math import ceil,floor, sqrt, cos, sin, pi, factorial
import sys
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines
sys.setrecursionlimit(10**8)
INF = float('inf')

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

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

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

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

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

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

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

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

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

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

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

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

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

Solution (Python):

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

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

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

if __name__ ==  '__main__':
    main()

Solution (Python):
kx=input().rstrip().split(" ")
k=int(kx[0])
x=int(kx[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 k >= x / 500:
    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(" "))
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())
m = 500 * k

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

Solution (Python):
def main():
    num, target = map(int, input().split())
    if num * 500 >= target:
        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())
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):
m = input().split()
K = int(m[0])
X = int(m[1])

ans = 'Yes'

if 500 * K < X:
  ans = 'No'

print(ans)

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


if __name__ == "__main__":
    main()

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

Solution (Python):
k, x = map(int, input().split())
d = {1:'Yes', 0:'No'}
print(d[k*500 >= x])

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

Solution (Python):
S,T = map(int,input().split())

if T <= 500 * S:
  print('Yes')
else:
  print('No')

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

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

Solution (Python):
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 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):



import sys


def input():
    return sys.stdin.readline()


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

    sum_money = k * 500

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


if __name__ == "__main__":
    resolve()

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

if n * 500 >= m:
    print("Yes")
elif n * 500 < m:
    print("No")

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

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

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

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

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

Solution (Python):
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())

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

Solution (Python):
import sys
import os

MOD = 10 ** 9 + 7


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

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


if __name__ == '__main__':
    main()

Solution (Python):

import sys

YES = "Yes"  
NO = "No"  


def solve(K: int, X: int):
    if 500 * K >= 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):
a,b = map(int,input().split())
sum=int(a)*500
if sum>=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 K * 500 >= X else "No")

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

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

main()

Solution (Python):
from sys import stdin

line = stdin.readline()
input = [int(x) for x in line.rstrip().split()]

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

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

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

else:
    print('No')

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

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

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

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

Solution (Python):

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

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

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())
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 = 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):
import sys, re, os
from collections import deque, defaultdict, Counter
from math import ceil, sqrt, hypot, factorial, pi, sin, cos, radians, acos, atan, asin
from itertools import permutations, combinations, product, accumulate
from operator import itemgetter, mul
from copy import deepcopy
from string import ascii_lowercase, ascii_uppercase, digits
from fractions import gcd
def input(): return sys.stdin.readline().strip()
def STR(): return input()
def INT(): return int(input())
def MAP(): return map(int, input().split())
def S_MAP(): return map(str, input().split())
def LIST(): return list(map(int, input().split()))
def S_LIST(): return list(map(str, input().split()))
sys.setrecursionlimit(10 ** 9)
inf = sys.maxsize
mod = 10 ** 9 + 7

k, x = MAP()
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())
k=k*500
if 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):
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())

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 = [int(x) for x 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())

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

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

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

k = int(kx[0])
x = int(kx[1])

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

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

Solution (Python):
input_line = input()
Line = input_line.split()
Line = [int(s) for s in Line]

if Line[0]*500 >= Line[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())	

k *= 500

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

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

Solution (Python):
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:
    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())

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

Solution (Python):

import sys

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

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

Solution (Python):
k, x = (int(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):
processedIp = input().split(" ")
k = int(processedIp[0])
x = int(processedIp[1])
totalValue = k*500
if (totalValue >= 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())
sum = 500*K

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

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

Solution (Python):
from sys import stdin
import math

n, m = [int(x) for x in stdin.readline().rstrip().split()]

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

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

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

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

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

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

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

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

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

ans = "No"

if K * 500 >= X:
    ans = "Yes"

print(ans)

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

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

Solution (Python):
import sys

input = sys.stdin.readline


def read_values():
    return map(int, input().split())


def read_list():
    return list(read_values())


def main():
    K, X = read_values()
    print("Yes" if X <= K * 500 else "No")


if __name__ == "__main__":
    main()

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

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

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

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


if __name__ == "__main__":
    main()

Solution (Python):
def solve():
    N, M = map(int, input().split())
    return 'Yes' if N*500 >= M else 'No'

print(solve())

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

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

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

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

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

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