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