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

Example Input: Problem: the ratio of the present age of viju to that of aju is 7 : 2 . 4 years from now , the ratio of the ages of viju to aju will be 5 : 2 . what was viju age 5 years ago ? ( rbi assistant 2015 )
Example Output: 16

Example Input: Problem: two numbers are in the ratio of 7 : 6 . if 18 be subtracted from each , they are in the ratio of 6 : 5 . find the numbers ?
Example Output: 7,6

Example Input: Problem: mr . loyd wants to fence his square shaped land of 120 sqft each side . if a pole is laid every 12 ft how many poles do he need ?
Example Output:
40