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