A bank loaned out $24,000, part of it at the rate of 13% annual interest, and the rest at 12% annual interest. The total interest earned for both loans was $3,020.00. How much was loaned at each rate? $ was loaned at 13% and $ was loaned at 12%.;