A person invests a total of 22,00 in 2 accounts. 1 investment earned 7% while the other earned 5.5%. The amount of investments earned for one year was $1312. How much was invested in each account?