A water polo team threw a pizza party after winning the championship. They needed enough pizza for 72 people. Each pizza serves 6 people and costs $17. How much did the pizza cost all together?