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]: [174, 287, 437, 168, 125, 479, 31, 262, 301, 291, 102, 37, 152, 335, 325, 153, 248, 213, 233, 34]
[EX A]: [174, 287, 437, 168, 125, 31, 479, 262, 301, 291, 102, 37, 152, 335, 325, 153, 248, 213, 233, 34]

[EX Q]: [447, 170, 78, 324, 75, 397, 187, 24, 79, 73, 148, 127, 277, 419, 121, 408, 20, 384, 354, 109]
[EX A]: [20, 170, 78, 324, 75, 397, 187, 24, 79, 73, 148, 127, 277, 419, 121, 408, 447, 384, 354, 109]

[EX Q]: [477, 200, 377, 405, 450, 137, 333, 139, 195, 52, 445, 154, 61, 63, 441, 455, 308, 354, 19, 340]
[EX A]:
[19, 200, 377, 405, 450, 137, 333, 139, 195, 52, 445, 154, 61, 63, 441, 455, 308, 354, 477, 340]