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: [16, 395, 336, 73, 197, 130, 372, 150, 282, 146, 68, 127, 244, 444, 94, 285, 231, 375, 341, 373]

Output: [444, 395, 336, 73, 197, 130, 372, 150, 282, 146, 68, 127, 244, 16, 94, 285, 231, 375, 341, 373]


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: [336, 470, 324, 58, 152, 186, 335, 68, 236, 425, 331, 369, 300, 115, 376, 286, 130, 439, 426, 358]


Output: [336, 58, 324, 470, 152, 186, 335, 68, 236, 425, 331, 369, 300, 115, 376, 286, 130, 439, 426, 358]