x, a = [int(n) for n in input().split()]
print(0 if x < a else 10) int(n) for n in input().split() for n in input().split() n input().split() ().split () input split for n in input().split() int(n) int n x, a = [int(n) for n in input().split()] x [int(n) for n in input().split()] a print(0 if x < a else 10) print 0 if x < a else 10 x < a x a 0 10 a = [int(n) for n in input().split()] [int(n) for n in input().split()] a x, a = [int(n) for n in input().split()] [int(n) for n in input().split()] x
x, a = [int(n) for n in input().split()]
print(0 if x < a else 10)