number = input().split(" ")
X = int(number[0])
A = int(number[1])
if X >= A:
	print(10)
else:
	print(0) number = input().split(" ") number input().split(" ") ().split () input split " " X = int(number[0]) X int(number[0]) int number[0] number 0 A = int(number[1]) A int(number[1]) int number[1] number 1 if X >= A:
	print(10)
else:
	print(0) X >= A X A print(10) print 10 print(0) print 0 A = int(number[1]) int(number[1]) A X = int(number[0]) int(number[0]) X number = input().split(" ") input().split(" ") number
number = input().split(" ")
X = int(number[0])
A = int(number[1])
if X >= A:
	print(10)
else:
	print(0)