x,a = map(int,input().split())
b = [10,0]
print(b[(x < a)]) x,a = map(int,input().split()) x map(int,input().split()) map int input().split() ().split () input split a b = [10,0] b [10,0] 10 0 print(b[(x < a)]) print b[(x < a)] b x < a x a x,a = map(int,input().split()) map(int,input().split()) x b = [10,0] [10,0] b a = map(int,input().split()) map(int,input().split()) a
x,a = map(int,input().split())
b = [10,0]
print(b[(x < a)])