The total number of ways of selecting six coins out of 20 one rupee coins, 10 fifty paise coins and 7 twenty five paise coins, is:
Ram has ₹27 in the form of fifty paise and twenty five paise coins. He has twice as many twenty five paise coins as he has fifty paise coins. What is the total number of coins of each kinds?