s = input().split(" ")
if int(s[0]) < int(s[1]):
  print(0)
else:
  print(10) s = input().split(" ") s input().split(" ") ().split () input split " " if int(s[0]) < int(s[1]):
  print(0)
else:
  print(10) int(s[0]) < int(s[1]) int(s[0]) int s[0] s 0 int(s[1]) int s[1] s 1 print(0) print 0 print(10) print 10 s = input().split(" ") input().split(" ") s
s = input().split(" ")
if int(s[0]) < int(s[1]):
  print(0)
else:
  print(10)