Gabe has just moved to a new town and wants to share plates of baked goods with his neighbors. He has 16 cookies and 24 brownies to share, and wants to split them equally among the plates with no food left over. What is the greatest number of plates he can make to share?