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.

Input: Consider Input: [146, 168, 185, 214, 455, 494, 354, 479, 233, 332, 118, 371, 122, 384, 447, 39, 422, 352, 127, 99]

Output: [146, 168, 185, 214, 455, 39, 354, 479, 233, 332, 118, 371, 122, 384, 447, 494, 422, 352, 127, 99]


Input: Consider Input: [182, 140, 61, 425, 161, 449, 260, 475, 80, 343, 86, 395, 255, 443, 270, 196, 106, 287, 330, 431]

Output: [182, 140, 475, 425, 161, 449, 260, 61, 80, 343, 86, 395, 255, 443, 270, 196, 106, 287, 330, 431]


Input: Consider Input: [133, 356, 66, 449, 397, 410, 374, 329, 279, 40, 169, 82, 75, 19, 186, 65, 61, 414, 243, 30]


Output: [133, 356, 66, 19, 397, 410, 374, 329, 279, 40, 169, 82, 75, 449, 186, 65, 61, 414, 243, 30]


