Mrs. King purchased pizzas for the children who took part in the Marks Shcool Science Fair. Each pizza cost $8.48. Twenty-two students each ate 3/4 of a pizza, and 11 students each ate 1/2 of a pizza. How much did it cost to buy pizzas for the students?