a,b=map(int,input().split())
print("10" if a>= b else "0") a,b=map(int,input().split()) a map(int,input().split()) map int input().split() ().split () input split b print("10" if a>= b else "0") print "10" if a>= b else "0" a>= b a b "10" "0" b=map(int,input().split()) map(int,input().split()) b a,b=map(int,input().split()) map(int,input().split()) a
a,b=map(int,input().split())
print("10" if a>= b else "0")