# ABC 130
X ,A =map(int,input().split(" "))
if X < A:
    print(0)
elif A<=X:
    print(10) X ,A =map(int,input().split(" ")) X map(int,input().split(" ")) map int input().split(" ") ().split () input split " " A if X < A:
    print(0)
elif A<=X:
    print(10) X < A X A print(0) print 0 elif A<=X:
    print(10) A<=X A X print(10) print 10 A =map(int,input().split(" ")) map(int,input().split(" ")) A X ,A =map(int,input().split(" ")) map(int,input().split(" ")) X
# ABC 130
X ,A =map(int,input().split(" "))
if X < A:
    print(0)
elif A<=X:
    print(10)