A bag contains one rupee,50p coins,25p coins in the ratio 5:6:8 amounting to rupess 210. Find number of coins of each type.