Sammy has 34 pizzas. He gave 4 to his colleagues at work and the rest he brought home to deliver to three separate parties. How many pizzas did Sam bring to each party?