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: [32, 14, 400, 228, 387, 277, 427, 108, 481, 479, 154, 432, 398, 142, 115, 173, 286, 267, 356, 183]

Output: [32, 481, 400, 228, 387, 277, 427, 108, 14, 479, 154, 432, 398, 142, 115, 173, 286, 267, 356, 183]


Input: Consider Input: [157, 298, 54, 206, 237, 485, 440, 282, 247, 450, 28, 280, 474, 496, 379, 390, 392, 217, 422, 165]

Output: [157, 298, 54, 206, 237, 485, 440, 282, 247, 450, 496, 280, 474, 28, 379, 390, 392, 217, 422, 165]


Input: Consider Input: [165, 22, 87, 424, 154, 434, 433, 149, 478, 426, 489, 275, 18, 320, 442, 318, 303, 104, 472, 29]


Output: [165, 22, 87, 424, 154, 434, 433, 149, 478, 426, 18, 275, 489, 320, 442, 318, 303, 104, 472, 29]