arr = input().split()
x,a = int(arr[0]),int(arr[1])
if x < a: print(0)
else: print(10) arr = input().split() arr input().split() ().split () input split x,a = int(arr[0]),int(arr[1]) x int(arr[0]) int arr[0] arr 0 a int(arr[1]) int arr[1] arr 1 if x < a: print(0)
else: print(10) x < a x a x,a = int(arr[0]),int(arr[1]) int(arr[0]) x arr = input().split() input().split() arr a = int(arr[0]),int(arr[1]) int(arr[1]) a
arr = input().split()
x,a = int(arr[0]),int(arr[1])
if x < a: print(0)
else: print(10)