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: [83, 244, 378, 130, 291, 190, 199, 474, 112, 225, 109, 450, 228, 439, 143, 227, 394, 47, 203, 246]

Answer: [83, 244, 378, 130, 291, 190, 199, 47, 112, 225, 109, 450, 228, 439, 143, 227, 394, 474, 203, 246]

Question: [51, 478, 19, 347, 243, 112, 95, 326, 321, 23, 230, 161, 74, 99, 409, 440, 405, 377, 317, 481]

Answer: [51, 478, 481, 347, 243, 112, 95, 326, 321, 23, 230, 161, 74, 99, 409, 440, 405, 377, 317, 19]

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]