A woman has a total of $11,000 to invest. She invests part of the money in an account that pays 7% per year and the rest in an account that pays 8% per year. If the interest earned in the first year is $
810, how much did she invest in each account?