a safe contains120 coins, the value of which is $10. If the coins consist of nickels and dimes, how many of each kind are in it