K, X = list(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 = list(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")

-if 500 * K >= X: +if K * 500 >= X: