Friday night, a pizza parlor sold 5 large pizzas and some medium pizzas. The pizza parlor made a total of $291. How many medium pizzas were sold?