The task is to generate the correct answer for a given math problem.

Example Input: Problem: meena wrote all the numbers from 1 to 29,999 inclusive . how many digits did she write in total ?
Example Output: 138,889

Example Input: Problem: the sum of the squares of the first 15 positive integers ( 1 ^ 2 + 2 ^ 2 + 3 ^ 2 + . . . + 15 ^ 2 ) is equal to 1240 . what is the sum of the squares of the second 15 positive integers ( 16 ^ 2 + 17 ^ 2 + 18 ^ 2 + . . . + 30 ^ 2 ) ?
Example Output: 8215

Example Input: Problem: what percent of 7.2 kg is 18 gms ?
Example Output:
25