x,a = map(int,input().split())
print('0'if x < a else '10') x,a = map(int,input().split()) x map(int,input().split()) map int input().split() ().split () input split a print('0'if x < a else '10') print '0'if x < a else '10' x < a x a '0' '10' x,a = map(int,input().split()) map(int,input().split()) x a = map(int,input().split()) map(int,input().split()) a
x,a = map(int,input().split())
print('0'if x < a else '10')