A total of $8000 is invested: part at 5% and the remainder at 13%. How much is invested at each rate if the annual interest is $730?