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

Input: Consider Input: Problem: a , b and c are partners in a business . their capitals are respectively , rs . 5000 , rs . 6000 and rs . 4000 . a gets 30 % of the total profit for managing the business . the remaining profit is divided among 3 in the ratio of their capitals . in the end of the year , the profit of a is rs . 200 more than the sum of the profits of b and c . find the total profit ?

Output: 3000

Input: Consider Input: Problem: the cash realised on selling a 14 % stock is rs . 106.25 , brokerage being 1 / 4 % is ?

Output: 106

Input: Consider Input: Problem: the mean of 50 observations is 200 . but later he found that there is decrements of 6 from each observations . what is the the updated mean is ?
Output: 19