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

[Q]: [463, 157, 394, 291, 236, 444, 476, 438, 339, 215, 398, 198, 326, 134, 195, 249, 239, 482, 268, 368]
[A]: [463, 157, 394, 291, 236, 444, 476, 438, 339, 215, 398, 198, 326, 482, 195, 249, 239, 134, 268, 368]

[Q]: [147, 166, 285, 83, 18, 144, 240, 153, 15, 161, 168, 288, 415, 492, 155, 493, 165, 85, 110, 447]
[A]:
[147, 166, 285, 83, 18, 144, 240, 153, 493, 161, 168, 288, 415, 492, 155, 15, 165, 85, 110, 447]