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

Ex Input:
Problem: a family pays $ 800 per year for an insurance plan that pays 70 percent of the first $ 1,000 in expenses and 100 percent of all medical expenses thereafter . in any given year , the total amount paid by the family will equal the amount paid by the plan when the family ' s medical expenses total how much ?

Ex Output:
$ 1,400


Ex Input:
Problem: a rectangle having length 105 cm and width 40 cm . if the length of the rectangle is increased by twenty five percent then how much percent the breadth should be decreased so as to maintain the same area .

Ex Output:
19.23 %


Ex Input:
Problem: the average of 7 numbers is 24 . if each number be multiplied by 5 . find the average of new set of numbers ?

Ex Output:

120