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]: [176, 172, 188, 385, 356, 24, 104, 497, 330, 222, 270, 266, 427, 182, 492, 224, 249, 470, 58, 391]
[EX A]: [176, 172, 188, 385, 356, 497, 104, 24, 330, 222, 270, 266, 427, 182, 492, 224, 249, 470, 58, 391]

[EX Q]: [480, 194, 225, 247, 223, 287, 237, 418, 83, 73, 170, 91, 118, 325, 211, 62, 440, 191, 384, 442]
[EX A]: [62, 194, 225, 247, 223, 287, 237, 418, 83, 73, 170, 91, 118, 325, 211, 480, 440, 191, 384, 442]

[EX Q]: [463, 228, 473, 145, 347, 39, 90, 233, 455, 128, 219, 239, 336, 467, 69, 493, 339, 457, 120, 354]
[EX A]:
[463, 228, 473, 145, 347, 493, 90, 233, 455, 128, 219, 239, 336, 467, 69, 39, 339, 457, 120, 354]