Q.
Let $S(n)$ denote the sum of the digits of a positive integer n. e.g.
$S(178)=1+$ $7+8=16 .$ Then, the value of $S(1)+S(2)+S(3)+\ldots+S(99)$ is
Solution: