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.
--------
Question: [477, 200, 377, 405, 450, 137, 333, 139, 195, 52, 445, 154, 61, 63, 441, 455, 308, 354, 19, 340]

Answer: [19, 200, 377, 405, 450, 137, 333, 139, 195, 52, 445, 154, 61, 63, 441, 455, 308, 354, 477, 340]


Question: [205, 479, 343, 263, 59, 164, 372, 22, 151, 72, 446, 471, 53, 114, 307, 405, 368, 427, 498, 195]

Answer: [205, 479, 343, 263, 59, 164, 372, 498, 151, 72, 446, 471, 53, 114, 307, 405, 368, 427, 22, 195]


Question: [263, 243, 453, 429, 188, 419, 308, 14, 28, 298, 301, 140, 229, 203, 125, 136, 199, 270, 439, 279]

Answer:
[263, 243, 14, 429, 188, 419, 308, 453, 28, 298, 301, 140, 229, 203, 125, 136, 199, 270, 439, 279]