Shelly paid a total of $15 for bags of candy she ordered on-line. The cost of each bag was $0.75 and shipping was a flat rate of $3.00. How many bags of candy did Shelly order?

a. 5
b. 9
c. 16
d. 24