The math department wants to sell pie slices to buy new math books. Each pie was cut into six slices. Two of the pies will be serve to members of the department as courtesy. If there are a total of 48 pieces how many whole pies will the department have available for sale