A jar contains nickels and d dimes. There are 28 coins in the jar, and the total value of the coins is $2.00. How many nickels and how many dimes are in the jar ?