A purse contains a total of P 5 in 10 c and 25 c, if there are 30 coins how many of each kind are there in a purse