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

if (x < a):
    print("0")
elif (a <= x):
    print("10") x, a = list(map(int, input().split())) x list(map(int, input().split())) list map(int, input().split()) map int input().split() ().split () input split a if (x < a):
    print("0")
elif (a <= x):
    print("10") x < a x a print("0") print "0" elif (a <= x):
    print("10") a <= x a x print("10") print "10" x, a = list(map(int, input().split())) list(map(int, input().split())) x a = list(map(int, input().split())) list(map(int, input().split())) a
x, a = list(map(int, input().split()))

if (x < a):
    print("0")
elif (a <= x):
    print("10")
