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.



Sample input:
2 900


Sample output:
Yes

Submission status: Accepted

Solution code:
#!/usr/bin/env python
from __future__ import division, print_function

import os
import sys
from io import BytesIO, IOBase

if sys.version_info[0] < 3:
    from __builtin__ import xrange as range
    from future_builtins import ascii, filter, hex, map, oct, zip


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


# region fastio

BUFSIZE = 8192


class FastIO(IOBase):
    newlines = 0

    def __init__(self, file):
        self._fd = file.fileno()
        self.buffer = BytesIO()
        self.writable = "x" in file.mode or "r" not in file.mode
        self.write = self.buffer.write if self.writable else None

    def read(self):
        while True:
            b = os.read(self._fd, max(os.fstat(self._fd).st_size, BUFSIZE))
            if not b:
                break
            ptr = self.buffer.tell()
            self.buffer.seek(0, 2), self.buffer.write(b), self.buffer.seek(ptr)
        self.newlines = 0
        return self.buffer.read()

    def readline(self):
        while self.newlines == 0:
            b = os.read(self._fd, max(os.fstat(self._fd).st_size, BUFSIZE))
            self.newlines = b.count(b"\n") + (not b)
            ptr = self.buffer.tell()
            self.buffer.seek(0, 2), self.buffer.write(b), self.buffer.seek(ptr)
        self.newlines -= 1
        return self.buffer.readline()

    def flush(self):
        if self.writable:
            os.write(self._fd, self.buffer.getvalue())
            self.buffer.truncate(0), self.buffer.seek(0)


class IOWrapper(IOBase):
    def __init__(self, file):
        self.buffer = FastIO(file)
        self.flush = self.buffer.flush
        self.writable = self.buffer.writable
        self.write = lambda s: self.buffer.write(s.encode("ascii"))
        self.read = lambda: self.buffer.read().decode("ascii")
        self.readline = lambda: self.buffer.readline().decode("ascii")


def print(*args, **kwargs):
    """Prints the values to a stream, or to sys.stdout by default."""
    sep, file = kwargs.pop("sep", " "), kwargs.pop("file", sys.stdout)
    at_start = True
    for x in args:
        if not at_start:
            file.write(sep)
        file.write(str(x))
        at_start = False
    file.write(kwargs.pop("end", "\n"))
    if kwargs.pop("flush", False):
        file.flush()


if sys.version_info[0] < 3:
    sys.stdin, sys.stdout = FastIO(sys.stdin), FastIO(sys.stdout)
else:
    sys.stdin, sys.stdout = IOWrapper(sys.stdin), IOWrapper(sys.stdout)

input = lambda: sys.stdin.readline().rstrip("\r\n")

# endregion

if __name__ == "__main__":
    main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
A, B = map(int, input().split())
if 500*A >= B:
  print("Yes")
else:
  print("No")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
class Solution:
    def YenCoins(self, K: int, X: int):
        return "Yes" if 500 * K >= X else "No"


if __name__ == "__main__":
    K, X = map(int, input().split())
    solution = Solution()
    print(solution.YenCoins(K, X))

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
# 整数の入力
k,x = (int(i) for i in input().split())
if 500*k>=x :print("Yes")
else: print("No")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

if __name__=='__main__':
    main()

Submission status: Accepted

Solution code:
import collections as c
ip = lambda : map(int, input().split())
# ##############
K,X = ip()
if K*500 >= X:
    print('Yes')
else:print('No')

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys


def main():
    # input = sys.stdin.readline
    K, X = map(int, input().split())

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

    print(answer)


if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
import unittest


class TestA(unittest.TestCase):
    def test_1(self):
        self.assertEqual(think(2, 900), 'Yes')

    def test_2(self):
        self.assertEqual(think(1, 501), 'No')

    def test_3(self):
        self.assertEqual(think(4, 2000), 'Yes')


def solve():
    k, x = read()
    result = think(k, x)
    write(result)


def read():
    return read_int(2)


def read_int(n):
    return read_type(int, n, sep=' ')


def read_float(n):
    return read_type(float, n, sep=' ')


def read_type(t, n, sep):
    return list(map(lambda x: t(x), read_line().split(sep)))[:n]


def read_line(n=0):
    if n == 0:
        return input().rstrip()
    else:
        return input().rstrip()[:n]


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


def write(result):
    print(result)


if __name__ == '__main__':
    # unittest.main()
    solve()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
A,B = map(int, input().split())
if(A * 500 >= B):
    print("Yes")
else:
    print("No")

Submission status: Accepted

Solution code:
# coding: utf-8

K, X = [int(x) for x in input().split()]

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

Submission status: Accepted

Solution code:
k,n=map(int,input().split());print("Yes") if n/k<=500 else print("No")

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def main():
    kx = list(map(int, input().split()))
    if kx[1] <= 500*kx[0]:
        print("Yes")
    else:
        print("No")

if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
from sys import stdin

K, X = [int(x) for x in stdin.readline().rstrip().split()]

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

Submission status: Accepted

Solution code:
# coding: utf-8

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

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

Submission status: Accepted

Solution code:
S = input().split()
K = int(S[0])
X = int(S[1])

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

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-

############### TESTCASE ###############
test = ""
#test = \
"""
4 2001
"""
########################################
test = list(reversed(test.strip().splitlines()))
if test:
    def input2():
        return test.pop()
else:
    def input2():
        return input()
################# MAIN ################# 

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

Submission status: Accepted

Solution code:
Input = list(map(int,input().split()))
K=Input[0]
X=Input[1]


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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
k, num = map(int, input().split())

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:

k,x = input().split()
K = int(k)
X = int(x)

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#coding: utf-8

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

if __name__ == '__main__':
    A()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a = raw_input().split(" ")
if int(a[0])*500 >= int(a[1]):
  print("Yes")
else:
  print("No")

Submission status: Accepted

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


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

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-

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

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

Submission status: Accepted

Solution code:
import sys
input = sys.stdin.readline

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

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

Submission status: Accepted

Solution code:
# 500yencoin
K, X = tuple(list(map(int, input().split(' '))))
if 500 * K >= X:
    print("Yes")
else:
    print("No")

Submission status: Accepted

Solution code:
def f(A,B):
    if A*500>=B:
        return "Yes"
    else:
        return "No"
A,B=map(int,input().split())
print(f(A,B))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#! /usr/bin/env python
# -*- coding: utf-8 -*-

import pdb
import sys
F = sys.stdin

K, X = map(int,F.readline().split())

if 500*K >= X:
    print('Yes')
    sys.exit()

print('No')

Submission status: Accepted

Solution code:
k,n = [int(i) for i in raw_input().split(" ")]
if(k*500 >= n):
	print "Yes"
else:
	print "No"

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a = []
a = input().split()

K = int(a[0])
X = int(a[1])

T = K * 500

if T >= X:
  print('Yes')
else :
  print('No')

#print('K = ', K)
#print('X = ', X)

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
"""
Created on Fri Jan 10 21:06:29 2020

@author: over-
"""




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

Submission status: Accepted

Solution code:
kx = list(map(int, input().split()))
k = kx[0]
x = kx[1]

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

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

else :
  print('No')

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
Money = list(map(int, input().split()))

K = Money[0]
X = Money[1]

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

Submission status: Accepted

Solution code:
A = input().split(' ')

K = int(A[0])
X = int(A[1])

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#!/usr/bin/env python
# coding: utf-8

def ri():
    return int(input())

def rl():
    return list(input().split())

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

def main():
    k, x = rli()
    if k*500 >= x:
        print("Yes")
    else:
        print("No")


if __name__ == '__main__':
    main()

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
k, x = map(int, input().split())

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

Submission status: Accepted

Solution code:
#A - 500 Yen Coins
K,X = list(map(int, input().split()))
sum = 500*K
if sum >= X:
    print('Yes')
else:
    print('No')

Submission status: Accepted

Solution code:
def inpl():
    return list(map(int, input().split()))


K, X = inpl()

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

Submission status: Accepted

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
from sys import stdin

a, b = stdin.readline().rstrip().split()

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def ghke(k, x):
    print('Yes') if k * 500 >= x else print("No")

if __name__ == "__main__":
    import sys
    in_str = []
    for line in sys.stdin:
        in_str.append(line)
    k, x = [int(_) for _ in in_str[0].split(' ')]
    ghke(k, x)

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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


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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
inp = str(input()).split(" ")
if(int(inp[0])*500 < int(inp[1])):
    print("No")
else:
    print("Yes")

Submission status: Accepted

Solution code:
import sys
#import numpy as np

stdin = sys.stdin

ri = lambda: int(rs())
rl = lambda: list(map(int, stdin.readline().split())) # applies to numbers only
rs = lambda: stdin.readline().rstrip()  # ignore trailing spaces

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
import sys
input = sys.stdin.readline

def gcd(a: int, b: int):
    """ https://cocodrips.hateblo.jp/entry/2014/03/05/143623
    """
    while b:
        a, b = b, a%b
    return a

def lcm(a: int, b: int):
    return a * b // gcd(a, b)


def main():
    #N = int(input())
    K,X = map(int, input().split())
    #vA = list(map(int, input().split())
    S = input().rstrip()
    #print(S)
    #print(lcm(N, M))
    print("Yes" if X<=500*K else "No")
    #print(S.count("ABC"))


if __name__ == "__main__":
    main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#


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


if __name__ == '__main__':
    main()

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
K, X = map(int, input().split())
# R,S,P = map(int, input().split())
# T = input()
# N = int(input())

if K*500 >=X:
    print("Yes")
else:
    print("No")
    
# dict_sample = {
#     "r":P,
#     "s":R,
#     "p":S
# }
# ans = 0

        
# print(ans)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
K, X = map(int, raw_input().split())

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

Submission status: Accepted

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


if __name__ == "__main__":
    main()

Submission status: Accepted

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

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

else:
  print('No')

Submission status: Accepted

Solution code:
N ,M = map(lambda x: int(x),input().split())
ans="No"
if N*500>=M:
  ans="Yes"
print(ans)

Submission status: Accepted

Solution code:
k, x = map(int, input().split())
value = k * 500

if value < x:
    print("No")
else:
    print("Yes")

Submission status: Accepted

Solution code:
from collections import defaultdict, deque
from heapq import heappush, heappop
from bisect import bisect_left, bisect_right
import sys
import random
import itertools
import math
sys.setrecursionlimit(10**5)
input = sys.stdin.readline
sqrt = math.sqrt


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


def LF(): return list(map(float, input().split()))


def LI_(): return list(map(lambda x: int(x)-1, input().split()))


def II(): return int(input())


def IF(): return float(input())


def LS(): return list(map(list, input().split()))


def S(): return list(input().rstrip())


def IR(n): return [II() for _ in range(n)]


def LIR(n): return [LI() for _ in range(n)]


def FR(n): return [IF() for _ in range(n)]


def LFR(n): return [LI() for _ in range(n)]


def LIR_(n): return [LI_() for _ in range(n)]


def SR(n): return [S() for _ in range(n)]


def LSR(n): return [LS() for _ in range(n)]


def gcd(x, y):
    if y == 0:
        return x
    return gcd(y, x % y)


def my_index_multi(l, x):
    return [i for i, _x in enumerate(l) if _x == x]


def sosu(x):
    for i in range(2, int(sqrt(x)+1)):
        if x % i == 0:
            return False
    return True


mod = 1000000007
inf = float('INF')


def A():
    K, X= LI()

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


    return

# B


def B():
    A, B, K = LI()
    temp = A-K
    if temp >= 0:
        print(temp, B)
        return
    B = B+temp
    if B <= 0:
        print(0, 0)
        return
    else:
        print(0, B)

    return

# C


def true():
    S = input()
    S = S[:-1]

    tmp = 0
    for x in range(1 << (len(S)-1)):
        func = S[-1]
        for i in range(len(S)-1):
            if(x & (1 << i)):
                tmp += int(func)
                func = S[-2-i]
            else:
                func = S[-2-i]+func
        tmp += int(func)
    print(tmp)

    return


def flagcounter(x):
    if (x == 0):
        return 0
    return flagcounter(x >> 1)+(x & 1)


def C():
    X = II()
    if X == 2:
        print(2)
        return
    while(1):
        if sosu(X):
            print(X)
            return
        X += 1

    return


# D
def D():
    N, K = LI()
    R, S, P = LI()
    T=list(input().rstrip())
    ans = 0
    for j in range(K):
        if T[j] == 'r':
            ans += P
        if T[j] == 'p':
            ans += S
        if T[j] == 's':
            ans += R
    j = 0
    rps=['r','p','s']

    for i in range(K, N):
        if T[j] == T[i]:
            if i+K>=N:
                j += 1
                continue
            T[i]=rps[rps.index(T[i+K])-1]
            j += 1
            continue
        if T[i] == 'r':
            ans += P
        if T[i] == 'p':
            ans += S
        if T[i] == 's':
            ans += R
        j += 1
    print(ans)
    return


def Dsyakutori():

    N, K = LI()
    A = LI()
    MAX = sum(A)
    if MAX < K:
        print(0)
        return
    Temp = MAX
    ans = 1
    for i in range(N):
        Temp = Temp-A[i]
        if (Temp >= K):
            ans += 1
        else:
            T = Temp+A[i]
            break
    Temp = T
    ckeep = N
    for k in range(N):
        c = N-1
        i -= 1
        Temp = T

        for j in range(N):
            Temp = Temp-A[c]
            if (Temp >= K):
                ans += 1

            elif(c < ckeep and i >= 0):
                ans += i
                ckeep = c
                break
            else:
                ckeep = c
                break
            c -= 1
        if i < 0:
            break
        T = T+A[i]
    print(ans)

    return

# E


def E():
    N, M= LI()
    A = LI()
    A.sort(reverse=True)
    B=[0]*(N+1)
    for i in range(1,N+1):
        B[i]=B[i-1]+A[i-1]
    D=[0]*(2*10**5+1)
    for i in range(N):
        D[A[i]]+=1
    for i in range(len(D)-1,0,-1):
        D[i-1]+=D[i]
    l=-1
    r=2*10**5+1
    while r-l>1:
        m=(l+r)//2
        s=0
        for i in range(N):
            s+=D[max(1,m-A[i])]
        if s>=M:
            l=m
        else:
            r=m
    ans=0
    s=0
    for i in range(N):
        v=max(0,r-A[i])
        t=max(0,min(D[v],M-s))
        ans+=B[t]+t*A[i]
        s+=t
    ans+=l*(M-s)
    print(ans)

    
    return

# F


def F():
    N, M = LI()

    value = [0] * M
    power = [0] * M
    for i in range(M):
        a, b = LI()
        value[i] = a
        c = LI()
        L = ['0'] * N
        for k in c:
            L[k - 1] = '1'
        bint = ''.join(L)
        power[i] = int(bint, 2)
    bint = ''.join(list(['1'] * N))
    dp = [inf] * (int(bint, 2)+1)
    t = 0
    cost = 0

    dp[0] = 0
    for s in range(int(bint, 2) + 1):
        for i in range(M):
            t = s | power[i]
            cost = dp[s] + value[i]
            dp[t] = min(dp[t], cost)
    print(-1) if(dp[-1] == inf) else print(dp[-1])

    return

    # you can write to stdout for debugging purposes, e.g.
# print("this is a debug message")


def solution(S):
    # write your code in Python 3.6
    N = len(S)

    pass


# Solve
if __name__ == '__main__':

    A()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
from sys import stdin


def main():
    input = lambda: stdin.readline()[:-1]
    K, X = map(int, input().split())
    if 500 * K >= X:
        print('Yes')
    else:
        print('No')


main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
from sys import stdin

K, X = [int(x) for x in stdin.readline().rstrip().split()]

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

Submission status: Accepted

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



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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#coding:utf-8

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

Submission status: Accepted

Solution code:
K,X = (int(i) for i in input().split())
if 500*K >= X:
    print("Yes")
else:
    print("No")

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
import sys
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
write = sys.stdout.write
def ii(): return int(readline())
def mi(): return map(int, readline().rstrip().split())
def li(): return list(readline().rstrip())
def lmi(): return list(map(int, readline().rstrip().split()))
def end(*arg): print(*arg); sys.exit()
# template


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


if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
K, X = map(int, input().split())

tot = K * 500

if tot >= X:
    print('Yes')
else:
    print('No')

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-

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

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