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: [360, 195, 110, 450, 104, 17, 156, 344, 274, 289, 100, 277, 245, 381, 248, 172, 73, 238, 253, 357]

Output: [360, 195, 110, 17, 104, 450, 156, 344, 274, 289, 100, 277, 245, 381, 248, 172, 73, 238, 253, 357]


Input: Consider Input: [23, 333, 423, 428, 337, 134, 388, 129, 293, 364, 92, 246, 275, 481, 361, 393, 375, 208, 279, 127]


Output: [481, 333, 423, 428, 337, 134, 388, 129, 293, 364, 92, 246, 275, 23, 361, 393, 375, 208, 279, 127]