Definition: The task is to generate the correct answer for a given math problem.
Input: Problem: a man bought 40 shares of rs . 80 at 5 discount , the rate of dividend being 12 1 / 2 % the rate of interest obtained is
