Mrs. Ming invested an amount of money in two accounts for one year. She invested some at 8% interest and the rest at 6% interest. Her total amount invested was $1,500. At the end of the year, she had earned $106.40 in interest. How much had Mrs. Ming invested in the account paying 6%?