Joanna went school supply shopping. She spent $30.52 on notebooks and pencils. Notebooks cost $2.16 each and pencils cost $1.10 each. She bought a total of 21 notebooks and pencils. How many of each did she buy?
A. 10 notebooks; 11 pencils
B. 7 notebooks; 14 pencils
C. 5 notebooks; 16 pencils
D. 12 notebooks; 9 pencils