Mark deposited $9,000 into two saving accounts bearing simple interest. One of the accounts has an interest rate of 8% while the other rate is 7%. If the total interest earned after one year is $700, find the amount deposited into each of the accounts