A pizza place near your office has small cheese pizzas for $4 and small pepperoni pizzas for $5. You are going to pick up pizzas for fourteen people in your office. You received $65 but forgot how many of each type of pizza you were supposed to pick up. How many of each type pizza were you supposed to get?