Definition: In this task, you are given a list of unique integers you need to swap the positions of maximum and minimum element in the list and return the updated list.
Input: [349, 359, 358, 229, 353, 451, 233, 169, 397, 473, 420, 23, 371, 94, 96, 275, 113, 51, 178, 480]

[349, 359, 358, 229, 353, 451, 233, 169, 397, 473, 420, 480, 371, 94, 96, 275, 113, 51, 178, 23]