Fatuma invests a total of $16,000 in two accounts paying 4% and 7% annual interest, respectively. How much was invested in each account if, after one year, the total interest was $985.00.