The Cooking Club made some pies to sell during lunch to raise money for an end-of-year banquet. The Cafeteria contributed pies t
o the club. Each pie was then cut into four pieces to the club. Each pie then cut into four pieces and sold. There were a total of 36 pieces to sell. How many pies did the club make?