x,a=map(int,input().split())
print(["0","10"][x>=a]) x,a=map(int,input().split()) x map(int,input().split()) map int input().split() ().split () input split a print(["0","10"][x>=a]) print ["0","10"][x>=a] ["0","10"] "0" "10" x>=a x a 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","10"][x>=a])