Papas pizza sells cheese pizza for $8 and pepperoni for $9 on Thursday night. Last Thursday they sold 55 pizzas and took in $464 in pizza sales. How many of each type of pizza did they sell?