A middle school principal orders 60 pizzas for a schoolwide pizza party. Each pizza is either cheese,pepperoni, or mushroom. There are an equal number of cheese and pepperoni pizzas. Of the total amount of pizzas, 40% are mushroom. How many pepperoni pizzas are there?
A. 15
B. 18
C. 20
D. 30