Instructions: 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: [442, 236, 497, 400, 458, 262, 338, 325, 251, 129, 425, 385, 465, 482, 345, 372, 337, 461, 486, 310]
Output:
[442, 236, 129, 400, 458, 262, 338, 325, 251, 497, 425, 385, 465, 482, 345, 372, 337, 461, 486, 310]