How many times will the digit 6 appear if we write sequentially all the positive integers from a to b?
Two positive integers a and b (1 \leq a, b \leq 10^9).
The number of 6 in sequentially written integers from a to b.
Przykład 1