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]: [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]: [492, 388, 498, 400, 55, 351, 371, 182, 125, 231, 174, 60, 227, 398, 237, 143, 324, 252, 358, 209]
[EX A]: [492, 388, 55, 400, 498, 351, 371, 182, 125, 231, 174, 60, 227, 398, 237, 143, 324, 252, 358, 209]

[EX Q]: [152, 116, 100, 375, 391, 303, 242, 390, 269, 470, 277, 35, 184, 350, 292, 347, 441, 29, 262, 171]
[EX A]:
[152, 116, 100, 375, 391, 303, 242, 390, 269, 29, 277, 35, 184, 350, 292, 347, 441, 470, 262, 171]