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: [307, 396, 130, 427, 133, 98, 211, 373, 108, 445, 372, 386, 278, 200, 483, 264, 101, 114, 84, 44]

A: [307, 396, 130, 427, 133, 98, 211, 373, 108, 445, 372, 386, 278, 200, 44, 264, 101, 114, 84, 483]
****
Q: [312, 141, 46, 17, 455, 129, 163, 108, 176, 446, 407, 149, 57, 221, 402, 208, 198, 228, 329, 64]

A: [312, 141, 46, 455, 17, 129, 163, 108, 176, 446, 407, 149, 57, 221, 402, 208, 198, 228, 329, 64]
****
Q: [338, 79, 27, 229, 433, 471, 328, 497, 474, 322, 424, 42, 341, 393, 32, 479, 280, 493, 428, 103]

A:
[338, 79, 497, 229, 433, 471, 328, 27, 474, 322, 424, 42, 341, 393, 32, 479, 280, 493, 428, 103]
****