Problems
How many sixs?
How many sixs?
How many times will be written the digit 6 if to write sequentially all the positive integers from a to b?
Input
Two positive integers a and b (1 ≤ a, b ≤ 109
).
Output
The number of 6 in sequentially written integers from a to b.
Input example #1
1 89
Output example #1
19