Hi! Can someone please help me with this math problem? Please show your work on how you got your answer. Thank you!

At the movies, bag of popcorn costs $3.50 and a bottle of mineral water costs $2.75. Madeline has $18 and bought only two bottles of water, how many bags of popcorn can she buy at most?