A bank loaned out $18,000, part of it at the rate of 6% per year and the rest at 16% per
year. If the interest received in one year totaled $2000, how much was loaned at 6%?