list = input().split(" ")
x = int(list[0])
a = int(list[1])

if x < a:
    print(0)
else:
    print(10) list = input().split(" ") list input().split(" ") ().split () input split " " x = int(list[0]) x int(list[0]) int list[0] list 0 a = int(list[1]) a int(list[1]) int list[1] list 1 if x < a:
    print(0)
else:
    print(10) x < a x a print(0) print 0 print(10) print 10 a = int(list[1]) int(list[1]) a list = input().split(" ") input().split(" ") list x = int(list[0]) int(list[0]) x
list = input().split(" ")
x = int(list[0])
a = int(list[1])

if x < a:
    print(0)
else:
    print(10)