hi i\'m trying to make a function that takes a 20 element list inputted by a user and replaces an existing one with the same amount of elements. it works, but the first and last