Ethan had 7 of his friends over. He ordered vhees pizzas and mozzarella sticks for the 8 of them. In all, there were 64 pieces of food. If each person had 5 slices of pizza, find the number of mozzarella sticks each person ate.

If each person had 5 slices of pizza, the total number of pieces eaten is 5*$8 = <<5*8=40>>40 pieces of pizza.

The number of mozzarella sticks each person ate is 64-40 = <<64-40=24>>24 pieces. Answer: \boxed{24}.