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]: [338, 79, 27, 229, 433, 471, 328, 497, 474, 322, 424, 42, 341, 393, 32, 479, 280, 493, 428, 103]
[EX A]: [338, 79, 497, 229, 433, 471, 328, 27, 474, 322, 424, 42, 341, 393, 32, 479, 280, 493, 428, 103]

[EX Q]: [48, 373, 251, 432, 93, 83, 294, 360, 168, 78, 239, 107, 293, 396, 494, 171, 282, 120, 473, 474]
[EX A]: [494, 373, 251, 432, 93, 83, 294, 360, 168, 78, 239, 107, 293, 396, 48, 171, 282, 120, 473, 474]

[EX Q]: [60, 52, 317, 109, 108, 34, 368, 195, 398, 353, 283, 342, 155, 84, 292, 67, 237, 123, 119, 469]
[EX A]:
[60, 52, 317, 109, 108, 469, 368, 195, 398, 353, 283, 342, 155, 84, 292, 67, 237, 123, 119, 34]