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]: [31, 364, 162, 376, 36, 497, 64, 10, 403, 264, 166, 426, 308, 232, 95, 406, 33, 170, 40, 311]
[EX A]: [31, 364, 162, 376, 36, 10, 64, 497, 403, 264, 166, 426, 308, 232, 95, 406, 33, 170, 40, 311]

[EX Q]: [360, 195, 110, 450, 104, 17, 156, 344, 274, 289, 100, 277, 245, 381, 248, 172, 73, 238, 253, 357]
[EX A]: [360, 195, 110, 17, 104, 450, 156, 344, 274, 289, 100, 277, 245, 381, 248, 172, 73, 238, 253, 357]

[EX Q]: [137, 404, 334, 99, 264, 444, 439, 348, 488, 402, 475, 436, 163, 98, 19, 132, 432, 292, 338, 464]
[EX A]:
[137, 404, 334, 99, 264, 444, 439, 348, 19, 402, 475, 436, 163, 98, 488, 132, 432, 292, 338, 464]