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: mary can do a piece of work in 26 days . rosy is 30 % more efficient than mary . the number of days taken by rosy to do the same piece of work is ?
Example Output: 20

Example Input: Problem: the sum of three consecutive even numbers is 63 , find the last one ?
Example Output:
23