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.

Example Input: [170, 498, 490, 349, 135, 345, 287, 182, 394, 23, 97, 14, 418, 274, 285, 78, 147, 215, 104, 387]
Example Output: [170, 14, 490, 349, 135, 345, 287, 182, 394, 23, 97, 498, 418, 274, 285, 78, 147, 215, 104, 387]

Example Input: [53, 400, 447, 274, 435, 432, 46, 51, 317, 404, 442, 16, 70, 190, 449, 43, 356, 156, 175, 294]
Example Output: [53, 400, 447, 274, 435, 432, 46, 51, 317, 404, 442, 449, 70, 190, 16, 43, 356, 156, 175, 294]

Example Input: [128, 249, 389, 83, 380, 314, 51, 289, 383, 247, 133, 336, 391, 41, 312, 497, 306, 349, 255, 488]
Example Output:
[128, 249, 389, 83, 380, 314, 51, 289, 383, 247, 133, 336, 391, 497, 312, 41, 306, 349, 255, 488]

