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.

[373, 11, 221, 335, 379, 78, 180, 303, 453, 359, 80, 298, 100, 433, 428, 96, 125, 45, 48, 139]
[373, 453, 221, 335, 379, 78, 180, 303, 11, 359, 80, 298, 100, 433, 428, 96, 125, 45, 48, 139]

[446, 271, 355, 181, 214, 338, 42, 398, 235, 467, 57, 92, 56, 282, 99, 222, 420, 339, 50, 472]
[446, 271, 355, 181, 214, 338, 472, 398, 235, 467, 57, 92, 56, 282, 99, 222, 420, 339, 50, 42]

[277, 412, 88, 399, 406, 323, 449, 20, 33, 443, 418, 405, 254, 224, 390, 269, 61, 146, 203, 195]

[277, 412, 88, 399, 406, 323, 20, 449, 33, 443, 418, 405, 254, 224, 390, 269, 61, 146, 203, 195]