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: [471, 416, 38, 475, 92, 200, 179, 165, 124, 194, 163, 55, 292, 161, 315, 177, 120, 91, 128, 29]

Output: [471, 416, 38, 29, 92, 200, 179, 165, 124, 194, 163, 55, 292, 161, 315, 177, 120, 91, 128, 475]


Input: Consider Input: [402, 163, 200, 51, 25, 229, 74, 242, 123, 267, 167, 91, 50, 166, 184, 452, 323, 315, 70, 177]

Output: [402, 163, 200, 51, 452, 229, 74, 242, 123, 267, 167, 91, 50, 166, 184, 25, 323, 315, 70, 177]


Input: Consider Input: [224, 469, 451, 462, 389, 258, 265, 276, 470, 366, 128, 432, 36, 133, 159, 213, 317, 467, 248, 89]


Output: [224, 469, 451, 462, 389, 258, 265, 276, 36, 366, 128, 432, 470, 133, 159, 213, 317, 467, 248, 89]


