The task is to generate the correct answer for a given math problem.
--------
Question: Problem: if z is a multiple of 8778 , what is the remainder when z ^ 2 is divided by 9 ?

Answer: 0

Question: Problem: when the price of a product was decreased by 20 % , the number sold increased by 60 % . what was the effect on the total revenue ?

Answer: 28 %

Question: Problem: when positive integer n is divided by positive integer p , the quotient is 18 , with a remainder of 7 . when n is divided by ( p + 3 ) , the quotient is 15 and the remainder is 1 . what is the value of n ?

Answer:
20