Keenan has 8 coins worth $0.70. If the coins are all dimes and nickels, how many dimes and nickels does he have?