x,a=[int(i)for i in input().split()]
if x>=a:
  print("10")
else:
  print("0") 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("10")
else:
  print("0") x>=a x a print("10") print "10" print("0") print "0" 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("10")
else:
  print("0")