A bank loaned out ​$11,000​, part of it at the rate of 8% per year and the rest at 18% per year. If the interest received in one year totaled ​$1500​, how much was loaned at