X,A=map(int,input().split())

if 0<=X<=9 and 0<=A<=9:
    if X<A:
        print(0)
    elif X>=A:
        print(10)
else:
    pass X,A=map(int,input().split()) X map(int,input().split()) map int input().split() ().split () input split A if 0<=X<=9 and 0<=A<=9:
    if X<A:
        print(0)
    elif X>=A:
        print(10)
else:
    pass 0<=X<=9 and 0<=A<=9 0<=X<=9 0<=X 0 X 9 0<=A<=9 0<=A 0 A 9 if X<A:
        print(0)
    elif X>=A:
        print(10) X<A X A print(0) print 0 elif X>=A:
        print(10) X>=A X A print(10) print 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())

if 0<=X<=9 and 0<=A<=9:
    if X<A:
        print(0)
    elif X>=A:
        print(10)
else:
    pass