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: [442, 236, 497, 400, 458, 262, 338, 325, 251, 129, 425, 385, 465, 482, 345, 372, 337, 461, 486, 310]

Output: [442, 236, 129, 400, 458, 262, 338, 325, 251, 497, 425, 385, 465, 482, 345, 372, 337, 461, 486, 310]


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]


Input: Consider Input: [115, 431, 65, 400, 54, 160, 43, 40, 372, 125, 495, 481, 180, 484, 35, 230, 466, 20, 375, 252]


Output: [115, 431, 65, 400, 54, 160, 43, 40, 372, 125, 20, 481, 180, 484, 35, 230, 466, 495, 375, 252]


