Step 1: All the values of M given go from 98 (lowest) to 993 (highest)
Step 2: Let's find the smallest power of 10 that will exceed 993, that is the highest value for M
Let's continue, this way:
8.5m questions
11.2m answers