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.

Ex Input:
[176, 166, 493, 27, 119, 265, 62, 317, 489, 443, 455, 488, 461, 189, 142, 351, 404, 187, 14, 182]

Ex Output:
[176, 166, 14, 27, 119, 265, 62, 317, 489, 443, 455, 488, 461, 189, 142, 351, 404, 187, 493, 182]


Ex Input:
[338, 79, 27, 229, 433, 471, 328, 497, 474, 322, 424, 42, 341, 393, 32, 479, 280, 493, 428, 103]

Ex Output:
[338, 79, 497, 229, 433, 471, 328, 27, 474, 322, 424, 42, 341, 393, 32, 479, 280, 493, 428, 103]


Ex Input:
[101, 177, 83, 449, 133, 367, 185, 153, 340, 274, 445, 96, 173, 65, 417, 426, 310, 459, 446, 211]

Ex Output:

[101, 177, 83, 449, 133, 367, 185, 153, 340, 274, 445, 96, 173, 459, 417, 426, 310, 65, 446, 211]