Count how many times the digit appears in consecutive natural numbers from to .
A single line contains two natural numbers and (1 \leq A, B \leq 10^9).
Output a single number — the total number of times the digit appears in consecutive natural numbers from to .
Example 1