X,A=[int(x) for x in input().split()]

if X<A:
    ans=0
else :
    ans=10
print(ans) int(x) for x in input().split() for x in input().split() x input().split() ().split () input split for x in input().split() int(x) int x X,A=[int(x) for x in input().split()] X [int(x) for x in input().split()] A if X<A:
    ans=0
else :
    ans=10 X<A X A ans=0 ans 0 ans=10 ans 10 print(ans) print ans ans=0 0 ans X,A=[int(x) for x in input().split()] [int(x) for x in input().split()] X A=[int(x) for x in input().split()] [int(x) for x in input().split()] A ans=10 10 ans
X,A=[int(x) for x in input().split()]

if X<A:
    ans=0
else :
    ans=10
print(ans)
