X, A = [int(num) for num in input().split()]
if X < A:
  print("0")
else:
  print("10") int(num) for num in input().split() for num in input().split() num input().split() ().split () input split for num in input().split() int(num) int num X, A = [int(num) for num in input().split()] X [int(num) for num in input().split()] A if X < A:
  print("0")
else:
  print("10") X < A X A print("0") print "0" print("10") print "10" A = [int(num) for num in input().split()] [int(num) for num in input().split()] A X, A = [int(num) for num in input().split()] [int(num) for num in input().split()] X
X, A = [int(num) for num in input().split()]
if X < A:
  print("0")
else:
  print("10")