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: [72, 154, 178, 240, 48, 305, 77, 311, 13, 488, 117, 442, 112, 490, 270, 150, 307, 263, 242, 40]

Answer: [72, 154, 178, 240, 48, 305, 77, 311, 490, 488, 117, 442, 112, 13, 270, 150, 307, 263, 242, 40]


Question: [37, 209, 296, 193, 425, 406, 464, 350, 100, 204, 67, 357, 132, 99, 127, 183, 338, 444, 169, 358]

Answer: [464, 209, 296, 193, 425, 406, 37, 350, 100, 204, 67, 357, 132, 99, 127, 183, 338, 444, 169, 358]


Question: [82, 63, 259, 99, 462, 116, 461, 303, 58, 394, 358, 190, 218, 43, 108, 28, 174, 224, 492, 47]

Answer:
[82, 63, 259, 99, 462, 116, 461, 303, 58, 394, 358, 190, 218, 43, 108, 492, 174, 224, 28, 47]