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

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: what positive number , when squared , is equal to the cube of the positive square root of 14 ?

Ex Output:
4


Ex Input:
Problem: last year department store x had a sales total for december that was 6 times the average ( arithmetic mean ) of the monthly sales totals for january through november . the sales total for december was what fraction of the sales total for the year ?

Ex Output:

6 / 17