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 age of 10 men is increased by years when two of them whose ages are 21 years and 23 years are replaced by two new men . the average age of the two new men is
Example Output: 3

Example Input: Problem: bruce and anne can clean their house in 4 hours working together at their respective constant rates . if anne ’ s speed were doubled , they could clean their house in 3 hours working at their respective rates . how many d hours does it currently take anne to clean the house on her own ?
Example Output:
12