Spongebob and Patrick got into an accident, and took out a loan for $9,000 to help pay for their hospital bills. Their loan has a 2.91% interest rate compounded quarterly. By the time they finished paying off their loan 3 years later, how much interest did they pay?