A collection of quarters and dimes is worth $12.40. There are 76 coins in all. How many of each coin are there?