Problem: meena wrote all the numbers from 1 to 59,999 inclusive . how many digits did she write in total ?
Rationale: "1 - 9 = > 1 * 9 digits 10 - 99 = > 2 * 90 = 180 ( numbers between 10 - 99 is 90 where each has 2 digits ) 100 - 999 = > 3 * 900 = 2700 1000 - 9999 = > 4 * 9000 = 36,000 10000 - 59999 = > 5 * 50,000 = 250,000 the answer is 288,889 the answer is c ."
annotated_formula: add(add(add(subtract(const_10, 1), multiply(subtract(const_100, const_10), const_2)), multiply(subtract(const_100, const_10), const_3)), multiply(subtract(const_100, const_10), const_4))