Question 188For a positive integer $n$, denote by $S(n)$ the sum of the digits of $n$. Determine the number of positive integers $n$ less than or equal to $999$ for which $S(9n) = 27$ is valid.