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

Example Input: Problem: when a merchant imported a certain item , he paid a 7 percent import tax on the portion of the total value of the item in excess of $ 1,000 . if the amount of the import tax that the merchant paid was $ 94.50 , what was the total value of the item ?
Example Output: $ 2,350

Example Input: Problem: the average of first 22 natural numbers is ?
Example Output: 11.5

Example Input: Problem: ravi and kavi start a business by investing â ‚ ¹ 2000 and â ‚ ¹ 72000 , respectively . find the ratio of their profits at the end of year .
Example Output:
1 : 36