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: [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: [447, 170, 78, 324, 75, 397, 187, 24, 79, 73, 148, 127, 277, 419, 121, 408, 20, 384, 354, 109]

Output: [20, 170, 78, 324, 75, 397, 187, 24, 79, 73, 148, 127, 277, 419, 121, 408, 447, 384, 354, 109]


Input: Consider Input: [74, 53, 246, 327, 356, 92, 456, 452, 29, 209, 396, 463, 210, 324, 225, 89, 286, 122, 437, 118]


Output: [74, 53, 246, 327, 356, 92, 456, 452, 463, 209, 396, 29, 210, 324, 225, 89, 286, 122, 437, 118]