abc = [int(e) for e in input().split()]

X = abc[0]
A = abc[1]

if X < A:
    print(0)
else:
    print(10) int(e) for e in input().split() for e in input().split() e input().split() ().split () input split for e in input().split() int(e) int e abc = [int(e) for e in input().split()] abc [int(e) for e in input().split()] X = abc[0] X abc[0] abc 0 A = abc[1] A abc[1] abc 1 if X < A:
    print(0)
else:
    print(10) X < A X A print(0) print 0 print(10) print 10 A = abc[1] abc[1] A abc = [int(e) for e in input().split()] [int(e) for e in input().split()] abc X = abc[0] abc[0] X
abc = [int(e) for e in input().split()]

X = abc[0]
A = abc[1]

if X < A:
    print(0)
else:
    print(10)