12. Let $\mathrm{f}(n)$ be the number of 0 's in the decimal representation of the positive integer $n$. For example, $f(10001123)=3$ and $f(1234567)=0$. Find the value of
$$
f(1)+f(2)+f(3)+\ldots \ldots+f(99999)
$$