Mitchell went to the grocery store and bought 30 bagels. If there are 3 bagels in each pack, how many packs of bagels did Mitchell buy?