Out of 150 coins, 90 are quarters. Of the remaining coins, 40% are nickels and the rest are dimes and pennies. There are 5 dimes for every penny. How many pennies are there?
A. 3
B. 4
C. 6
D. 12