Definition: The task is to generate the correct answer for a given math problem.
Input: Problem: a sum of money at simple interest amounts to rs . 720 after 2 years and to rs . 1020 after a further period of 5 years . the sum is :
