Ngoc invests a total of $14,000 in two accounts paying 3% and 7% simple interest, respectively. How much was invested in each account if, after one year, the total interest was $620.00.