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.

[Q]: [416, 325, 428, 413, 489, 314, 17, 375, 103, 16, 34, 183, 47, 111, 285, 281, 159, 86, 447, 107]
[A]: [416, 325, 428, 413, 16, 314, 17, 375, 103, 489, 34, 183, 47, 111, 285, 281, 159, 86, 447, 107]

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

[Q]: [378, 396, 254, 444, 434, 114, 369, 100, 122, 360, 312, 385, 165, 387, 416, 321, 374, 341, 69, 76]
[A]:
[378, 396, 254, 69, 434, 114, 369, 100, 122, 360, 312, 385, 165, 387, 416, 321, 374, 341, 444, 76]