The task is to generate the correct answer for a given math problem.
--------
Question: Problem: a merchant sells an item at a 20 % discount , but still makes a gross profit of 20 percent of the cost . what percent of the cost would the gross profit on the item have been if it had been sold without the discount ?

Answer: 50 %

Question: Problem: at a certain fruit stand , the price of each apple is 40 cents and the price of each orange is 60 cents . mary selects a total of 30 apples and oranges from the fruit stand , and the average ( arithmetic mean ) price of the 30 pieces of fruit is 56 cents . how many oranges must mary put back so that the average price of the pieces of fruit that she keeps is 52 cents ?

Answer: 1

Question: Problem: what is the value of n if the sum of the consecutive odd intergers r from 1 to n equals 169 ?

Answer:
25