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

Example Input: Problem: a statue is being carved by a sculptor . the original piece of marble weighed 180 kg . in the first week 28 percent is cut away . in the second week 18 percent of the remainder is cut away . in the third week the statue is completed when 20 percent of the remainder is cut away . what is the weight of the final statue ?
Example Output: 85 kg

Example Input: Problem: a , b and c are partners in a business . their capitals are respectively , rs . 5000 , rs . 6000 and rs . 4000 . a gets 30 % of the total profit for managing the business . the remaining profit is divided among 3 in the ratio of their capitals . in the end of the year , the profit of a is rs . 200 more than the sum of the profits of b and c . find the total profit ?
Example Output: 3000

Example Input: Problem: if a man walks at a rate of 10 kmph , he misses a train by 14 minutes . however , if he walks at the rate of 12 kmph , he reaches the station 10 minutes before the arrival of the train . find the distance covered by him to reach the station .
Example Output:
6