A candy store sells a bag of cotton candy for $0.70 and chocolate bars for $0.50. Sheila bought some cotton candy and several chocolate bars from the store and spent a total of $6.30. How many bags of cotton candy and bars of chocolate did Sheila purchase?

A 4

B 7

C 11

D 13

E 17