Peter has money in two savings accounts. One rate is 6% and the other is 14%. If he has $900 more in the 14% account and the total interest is $221, how much is invested in each savings account?