You will be given a definition of a task first, then some input of the task.
The task is to generate the correct answer for a given math problem.

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 ?
Output:
5 %