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

Example Input: Problem: the profits of qrs company rose 30 % from march to april , then dropped 20 % from april to may , then rose 50 % from may to june . what was the percent increase for the whole quarter , from march to june ?
Example Output: 56 %

Example Input: Problem: the ratio of three numbers is 2 : 3 : 4 and their sum is 180 . the second number of the three numbers is ?
Example Output: 60

Example Input: Problem: sides of a rectangular park are in the ratio 3 : 2 and its area is 3750 sq m , the cost of fencing it at 60 ps per meter is ?
Example Output:
150