Emma has money into savings accounts. One rate is 8% and the other is 12%. If she has $450 more in the 12% account and the total interest is $220, how much is invested in each savings account?