Bryan has a collection of nickels and quarters for a total value of $4.90. If he has a total of 42 coins, how many of each kind are there?