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

if 500*K >= X:

    print("Yes")

else:

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

if X<=500*K:

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

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