Avoid single-letter variable names. Judging by the names used elsewhere, `n` could instead be `years`.