A dentist bought 9 bags of prizes for his patients. Each bag had 12 prizes. The prizes were divided equally among 3 boxes. How many prizes were in each box?