Bonnie invested $8,000 in two accounts paying 5% and 6% annual interest. Her money earned a total of $445 in interest in one year. How much was invested in each account?