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