It is Greg's turn to bring snacks and juice for the soccer team. At the grocery store, he found some juice boxes and cookies that were on sale. The juice boxes come in packs of 6. The cookies come in packs of 8. If Greg wants an equal number of juice boxes and cookies, what is the minimum number of juice boxes should he buy?