Substitutes the value for number n in the specified list. Consequently, the list's size does not change. *The element at the top of the list is counted as "first".