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


[Q]: [106, 196, 137, 46, 222, 397, 497, 442, 244, 464, 481, 303, 424, 177, 390, 143, 308, 422, 473, 82]
[A]: [106, 196, 137, 497, 222, 397, 46, 442, 244, 464, 481, 303, 424, 177, 390, 143, 308, 422, 473, 82]


[Q]: [243, 171, 26, 446, 109, 477, 285, 67, 193, 123, 335, 288, 357, 135, 51, 464, 257, 447, 208, 240]
[A]:
[243, 171, 477, 446, 109, 26, 285, 67, 193, 123, 335, 288, 357, 135, 51, 464, 257, 447, 208, 240]