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: [244, 406, 385, 314, 323, 281, 46, 121, 195, 148, 124, 452, 414, 24, 296, 458, 301, 283, 293, 400]

[244, 406, 385, 314, 323, 281, 46, 121, 195, 148, 124, 452, 414, 458, 296, 24, 301, 283, 293, 400]