How many sixes?#7228

How many sixes?

1 sekunda
122,174 megabajta
Średnie

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

Dane wejściowe

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

Dane wyjściowe

The number of in sequentially written integers from to .

Przykłady

Przykład 1

Loading
Loading