Mrs johnson just purchased a total of 12 books and magazines for her office. the total bill was $112. she spent $16 on magazines, and the books cost $12 each. how many magazines did she buy