How many sixes?#7228

How many sixes?

1 second
122.174 megabytes
Medium (≈1350)

How many times will the digit appear if we write sequentially all the positive integers from to ?

Input

Two positive integers and (1 \leq a, b \leq 10^9).

Output

The number of in sequentially written integers from to .

Examples

Example 1

Loading
Loading