riley has 162 of the coins 2/9 are nickels and 2/9 are nickels and the rest are quarters what is the ratio of riley's nickels to dimes to quarters