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

Example Input: Problem: a and b invests rs . 10000 each , a investing for 6 months and b investing for all the 12 months in the year . if the total profit at the end of the year is rs . 24000 , find their shares ?
Example Output: 8000

Example Input: Problem: the ratio of a to b is 4 to 5 , where a and b are positive . if x equals a increased by 25 percent of a , and m equals b decreased by 60 percent of b , what is the value of m / x ?
Example Output: 2 / 5

Example Input: Problem: ( 3220 + 6160 ) / 28
Example Output:
335