A bag contains​ pennies, nickels,​ dimes, and quarters. There are 50 coins in all. Of the​ coins, ​% are pennies and ​% are dimes. There are more nickels than pennies. How much money does the bag​ contain?