Set up and solve a system of equations to solve the problem.

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

The jar contains ___ nickels and ___ dimes.