An amount of $27,000 is borrowed for 7 years at 6.5% interest, compounded annually. If the loan is paid in full at the end of the period, how much must be paid back? Round your answer to the nearest dollar