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: [486, 158, 150, 357, 48, 239, 117, 35, 294, 107, 427, 359, 360, 36, 121, 95, 247, 100, 314, 92]

Output: [35, 158, 150, 357, 48, 239, 117, 486, 294, 107, 427, 359, 360, 36, 121, 95, 247, 100, 314, 92]


Input: Consider Input: [337, 269, 373, 439, 95, 446, 50, 333, 16, 318, 259, 342, 224, 461, 52, 171, 154, 193, 395, 122]

Output: [337, 269, 373, 439, 95, 446, 50, 333, 461, 318, 259, 342, 224, 16, 52, 171, 154, 193, 395, 122]


Input: Consider Input: [212, 178, 219, 360, 369, 19, 487, 129, 313, 97, 284, 476, 253, 23, 359, 238, 419, 371, 174, 434]


Output: [212, 178, 219, 360, 369, 487, 19, 129, 313, 97, 284, 476, 253, 23, 359, 238, 419, 371, 174, 434]