The sum of three numbers which are consecutive terms an A.P. is 21. If the second number is reduced by 1 and the third is increased by 1, we obtain three consecutive terms of a G.P. Find the numbers.