You will be given a definition of a task first, then some input of the task.
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.

[272, 435, 256, 391, 402, 466, 428, 129, 110, 413, 65, 263, 174, 346, 98, 389, 62, 250, 169, 457]
Output:
[272, 435, 256, 391, 402, 62, 428, 129, 110, 413, 65, 263, 174, 346, 98, 389, 466, 250, 169, 457]