x, a = (int(i) for i in input().split())

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

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