#!/usr/bin/env python3
a,b=map(int,input().split())
print("0"*(a<b)or 10) a,b=map(int,input().split()) a map(int,input().split()) map int input().split() ().split () input split b print("0"*(a<b)or 10) print "0"*(a<b)or 10 "0"*(a<b) "0" a<b a b 10 a,b=map(int,input().split()) map(int,input().split()) a b=map(int,input().split()) map(int,input().split()) b
#!/usr/bin/env python3
a,b=map(int,input().split())
print("0"*(a<b)or 10)
