A person has 22 coins, all nickels and dimes, worth one dollar and 40 cents. If n is the number of nickels and d is the number of dimes, which system of equations could represent this problem?

n+d=1.40
0.05n+0.1d=22

n+d=22
n+d=1.40

n+d=22
0.05n+0.10d=1.40