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]: [329, 163, 460, 187, 365, 470, 317, 350, 354, 431, 378, 271, 223, 294, 48, 118, 450, 151, 337, 284]
[EX A]: [329, 163, 460, 187, 365, 48, 317, 350, 354, 431, 378, 271, 223, 294, 470, 118, 450, 151, 337, 284]

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

[EX Q]: [189, 419, 469, 313, 257, 264, 297, 233, 291, 244, 77, 493, 142, 479, 163, 87, 162, 42, 128, 94]
[EX A]:
[189, 419, 469, 313, 257, 264, 297, 233, 291, 244, 77, 42, 142, 479, 163, 87, 162, 493, 128, 94]