Definition: The task is to generate the correct answer for a given math problem.
Input: Problem: a person borrows rs . 5000 for 2 years at 4 % p . a . simple interest . he immediately lends it to another person at 6 p . a for 2 years . find his gain in the transaction per year .
