Joanna went school supply shopping. She spent $29.16 on notebooks and pencils. Notebooks cost $1.88 each and pencils cost $1.36 each. She bought a total of 18 notebooks and pencils. How many of each did she buy?

A.
14 notebooks; 4 pencils
B.
12 notebooks; 6 pencils
C.
9 notebooks; 9 pencils
D.
7 notebooks; 11 pencils