Determine the smallest natural number whose digit sum equals M and is divisible by M.
A natural number M, where 1 \leq M \leq 100.
The solution to the problem.
Example 1