Definition: The task is to generate the correct answer for a given math problem.
Input: Problem: a man invests some money partly in 15 % stock at 105 and partly in 8 % stock at 40 . to obtain equal dividends from both , he must invest the money in the ratio :
