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: [254, 409, 441, 99, 74, 292, 395, 136, 447, 233, 367, 112, 185, 327, 22, 454, 271, 319, 293, 200]

Answer: [254, 409, 441, 99, 74, 292, 395, 136, 447, 233, 367, 112, 185, 327, 454, 22, 271, 319, 293, 200]


Question: [402, 163, 200, 51, 25, 229, 74, 242, 123, 267, 167, 91, 50, 166, 184, 452, 323, 315, 70, 177]

Answer: [402, 163, 200, 51, 452, 229, 74, 242, 123, 267, 167, 91, 50, 166, 184, 25, 323, 315, 70, 177]


Question: [47, 153, 471, 454, 207, 195, 168, 233, 408, 241, 442, 249, 36, 482, 226, 293, 170, 402, 452, 295]

Answer:
[47, 153, 471, 454, 207, 195, 168, 233, 408, 241, 442, 249, 482, 36, 226, 293, 170, 402, 452, 295]