Last year, Nicole had to invest. She invested some of it in an account that paid simple interest per year, and she invested the rest in an account that paid simple interest per year. After one year, she received a total of in interest. How much did she invest in each account?