Last year, Raina had $10,000 to invest. She invested some of it in an account that paid 7% simple interest per year, and she invested the rest in an account that paid 6% simple interest per year. After one year, she received a total of $620 in interest. How much did she invest in each account?