Richard took a loan of $10000 at a rate of 4%. If he paid $1600 in interest, how many years did it take to pay back the loan?

10,000 * 0.04 = 400

1600 / 400 = ?