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: [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]


Input: Consider Input: [292, 152, 415, 277, 64, 30, 247, 444, 25, 348, 178, 167, 122, 347, 131, 484, 69, 22, 231, 349]

Output: [292, 152, 415, 277, 64, 30, 247, 444, 25, 348, 178, 167, 122, 347, 131, 22, 69, 484, 231, 349]


Input: Consider Input: [120, 262, 66, 174, 202, 447, 193, 188, 307, 474, 69, 100, 338, 394, 487, 145, 348, 184, 358, 149]


Output: [120, 262, 487, 174, 202, 447, 193, 188, 307, 474, 69, 100, 338, 394, 66, 145, 348, 184, 358, 149]