Definition: The task is to generate the correct answer for a given math problem.
Input: Problem: the compound interest earned on a sum for the second and the third years are $ 1200 and $ 1260 respectively . what is the rate of interest ?
