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