$23,314 is invested, part at 13% and the rest at 12 %. If the interest earned from the amount invested at 13 % exceeds the interest earned from the amount invested at 12% by $558.57, how much is invested at each rate?