Q: You are given a math word problem and you are supposed to apply division mathematical operator on the numbers embedded in the text to answer the following question and then only report the final numerical answer.
Context: If each bag has 3 cookies and you had 21 cookies in total

Question: How many bags of cookies do you have?
A:
7