A store sells notebooks and pens. Each notebook costs $3, and each pen costs $2. Linda has $24 to spend.
What is the maximum number of items (notebooks and pens) Linda can buy?