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.

[147, 345, 70, 396, 326, 125, 55, 221, 43, 223, 122, 241, 374, 372, 487, 210, 488, 276, 308, 218]
Output:
[147, 345, 70, 396, 326, 125, 55, 221, 488, 223, 122, 241, 374, 372, 487, 210, 43, 276, 308, 218]