print(('YNeos'[eval(input().replace(' ','*500<'))::2]))
import re;print((re.search('[12].*1',eval(input()))and'No'or'Yes'))
print(("YNeos"[eval(input().replace(" ", "*500<")) :: 2]))

import re

print((re.search("[12].*1", eval(input())) and "No" or "Yes"))

-print(("YNeos"[eval(input().replace(" ", "*500<")) :: 2])) +import re + +print((re.search("[12].*1", eval(input())) and "No" or "Yes"))