Tracy stopped at the convenience store on her way to school. With tax, bottles of soda cost 1.50 and bags of chips cost 2.50. If she has 12, what is the greatest number of bags of chips she can buy and still have enough money left to buy two bottles of soda?