Mrs. Smith purchased pizzas for the children who took part in the Marks School Science Fair. Each pizza cost $6.13. 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?