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

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

Ex Output:
8000

Ex Input:
Problem: if mn = 0 and 25 percent of n equals 37 1 / 2 percent of m , what is the value of 12 n / m ?

Ex Output:
18

Ex Input:
Problem: the surface area of a sphere is same as the curved surface area of a right circular cylinder whose height and diameter are 12 cm each . the radius of the sphere is

Ex Output:
6 cm