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

Example Input: Problem: john left home and drove at the rate of 45 mph for 2 hours . he stopped for lunch then drove for another 3 hours at the rate of 45 mph to reach his destination . how many miles did john drive ?
Example Output: 225 miles .

Example Input: Problem: if log 2 = 0.3010 and log 3 = 0.4771 then the value of log 4.5 is :
Example Output: 0.6532

Example Input: Problem: the price of precious stone is directly proportional to square of its weight . what will be the loss incurred if a stone weighing 28 gm and costing 28,000 breaks into two pieces whose weights are in the ratio 15 : 13 ?
Example Output:
14,00