a,b=map(int,input().split());print(' '.join([str(sum(str(num).count(str(digit)) for num in range(a, b + 1))) for digit in range(10)]))