Robert has 26 coins that are all nickels and dimes. The value of the coins is $1.85. How many of each does he have?