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: [181, 410, 164, 375, 232, 351, 327, 52, 382, 128, 162, 248, 344, 478, 477, 284, 243, 73, 218, 35]

Answer: [181, 410, 164, 375, 232, 351, 327, 52, 382, 128, 162, 248, 344, 35, 477, 284, 243, 73, 218, 478]


Question: [190, 43, 71, 390, 182, 235, 154, 282, 493, 69, 468, 317, 489, 132, 336, 375, 160, 432, 163, 374]

Answer: [190, 493, 71, 390, 182, 235, 154, 282, 43, 69, 468, 317, 489, 132, 336, 375, 160, 432, 163, 374]


Question: [221, 493, 17, 466, 353, 191, 141, 343, 347, 247, 78, 110, 342, 228, 492, 392, 61, 106, 104, 113]

Answer:
[221, 17, 493, 466, 353, 191, 141, 343, 347, 247, 78, 110, 342, 228, 492, 392, 61, 106, 104, 113]