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

Ex 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 ?

Ex Output:
56 %


Ex Input:
Problem: paul ' s income is 40 % less than rex ' s income , quentin ' s income is 20 % less than paul ' s income , and sam ' s income is 40 % less than paul ' s income . if rex gave 60 % of his income to sam and 40 % of his income to quentin , quentin ' s new income would be what fraction of sam ' s new income ?

Ex Output:
11 / 12


Ex Input:
Problem: 20 % of a number is more than 30 % of 120 by 80 . find the number ?

Ex Output:

580