The task is to generate the correct answer for a given math problem.

Input: Consider Input: Problem: income and expenditure of a person are in the ratio 7 : 6 . if the income of the person is rs . 14000 , then find his savings ?

Output: 2000


Input: Consider Input: Problem: a certain debt will be paid in 65 installments from january 1 to december 31 of a certain year . each of the first 20 payments is to be $ 410 ; each of the remaining payments is to be $ 65 more than each of the first 20 payments . what is the average ( arithmetic mean ) payment that will be made on the debt for the year ?

Output: 455


Input: Consider Input: Problem: find the least number of complete years in which a sum of money put out at 50 % compound interest will be more than double of itself ?


Output: 2