Question 378005
Let n be the number of nickels. We can set the following equation:

5n + 10(n-5) = 400

15n - 50 = 400

n = 30

There are 30 nickels and 25 dimes.