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

Ex Input:
Problem: by selling an article for $ 195 , a person gains $ 45 . what is the gain % ?

Ex Output:
30 %


Ex Input:
Problem: audrey 4 hours to complete a certain job . ferris can do the same job in 3 hours . audrey and ferris decided to collaborate on the job , working at their respective rates . while audrey worked continuously , ferris took 5 breaks of equal length . if the two completed the job together in 2 hours , how many minutes long was each of ferris ’ breaks ?

Ex Output:
6


Ex Input:
Problem: the average monthly income of p and q is rs . 5050 . the average monthly income of q and r is rs . 6250 and the average monthly income of p and r is rs . 5200 . the monthly income of p + q + r is :

Ex Output:

1650