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: [357, 126, 185, 18, 459, 254, 454, 404, 377, 134, 445, 209, 135, 462, 251, 23, 270, 40, 302, 19]

Output: [357, 126, 185, 462, 459, 254, 454, 404, 377, 134, 445, 209, 135, 18, 251, 23, 270, 40, 302, 19]


Input: Consider Input: [282, 38, 402, 29, 79, 187, 434, 308, 398, 386, 470, 358, 266, 214, 145, 115, 380, 66, 20, 136]

Output: [282, 38, 402, 29, 79, 187, 434, 308, 398, 386, 20, 358, 266, 214, 145, 115, 380, 66, 470, 136]


Input: Consider Input: [463, 157, 394, 291, 236, 444, 476, 438, 339, 215, 398, 198, 326, 134, 195, 249, 239, 482, 268, 368]


Output: [463, 157, 394, 291, 236, 444, 476, 438, 339, 215, 398, 198, 326, 482, 195, 249, 239, 134, 268, 368]