$14,038 is invested, part at 14% and the rest at 12%. If the interest earned from the amount invested at 14% exceeds the interest earned from the amount invested at 12% by $984.34, how much is invested at each rate? (Round to two decimal places if necessary.)