A man has $34,000 to invest. He invests some of the money at 5% and the balance at 4%. His total annual interest income is $1545. Find the amount invested at each rate