Which of the following formulas is used to convert an annuity $A$ to its present value $P$? Assume year-end convention. $n$ is the number of periods and $i$ is the interest rate per period.