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.

[EX Q]: [131, 212, 431, 43, 122, 473, 421, 142, 171, 252, 78, 68, 414, 329, 61, 283, 346, 284, 204, 381]
[EX A]: [131, 212, 431, 473, 122, 43, 421, 142, 171, 252, 78, 68, 414, 329, 61, 283, 346, 284, 204, 381]

[EX Q]: [165, 22, 87, 424, 154, 434, 433, 149, 478, 426, 489, 275, 18, 320, 442, 318, 303, 104, 472, 29]
[EX A]: [165, 22, 87, 424, 154, 434, 433, 149, 478, 426, 18, 275, 489, 320, 442, 318, 303, 104, 472, 29]

[EX Q]: [442, 236, 497, 400, 458, 262, 338, 325, 251, 129, 425, 385, 465, 482, 345, 372, 337, 461, 486, 310]
[EX A]:
[442, 236, 129, 400, 458, 262, 338, 325, 251, 497, 425, 385, 465, 482, 345, 372, 337, 461, 486, 310]