x, a= input().split()
x, a= int(x), int(a)
if x < a:
    print('0')
else:
    print('10') x, a= input().split() x input().split() ().split () input split a x, a= int(x), int(a) x int(x) int x a int(a) int a if x < a:
    print('0')
else:
    print('10') x < a x a print('0') print '0' print('10') print '10' a= input().split() input().split() a x, a= input().split() input().split() x x, a= int(x), int(a) int(x) x a= int(x), int(a) int(a) a
x, a= input().split()
x, a= int(x), int(a)
if x < a:
    print('0')
else:
    print('10')