A person has 20 coins, all nickels and dimes, worth one dollar and 40 cents. How many nickels are there?

If n = number of nickels and d = number of dimes, which system of equations represents the problem?