The entry fee to the fair is $4.00. Each ride requires a ticket that cost $0.50. Heidi spent a total of $12.00.
How many tickets did Heidi purchase?
A 6
B 16
C 24
D 32