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: [352, 19, 343, 202, 392, 372, 496, 393, 355, 178, 310, 399, 183, 281, 425, 62, 76, 82, 438, 249]

Output: [352, 496, 343, 202, 392, 372, 19, 393, 355, 178, 310, 399, 183, 281, 425, 62, 76, 82, 438, 249]


Input: Consider Input: [372, 297, 467, 302, 239, 498, 99, 110, 432, 442, 496, 478, 98, 458, 449, 331, 427, 175, 315, 49]

Output: [372, 297, 467, 302, 239, 49, 99, 110, 432, 442, 496, 478, 98, 458, 449, 331, 427, 175, 315, 498]


Input: Consider Input: [357, 470, 83, 330, 213, 156, 286, 409, 334, 160, 316, 375, 215, 232, 468, 358, 161, 418, 25, 458]


Output: [357, 25, 83, 330, 213, 156, 286, 409, 334, 160, 316, 375, 215, 232, 468, 358, 161, 418, 470, 458]


