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