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: [68, 367, 282, 379, 289, 321, 305, 254, 426, 108, 287, 23, 402, 268, 461, 222, 24, 312, 144, 125]

Output: [68, 367, 282, 379, 289, 321, 305, 254, 426, 108, 287, 461, 402, 268, 23, 222, 24, 312, 144, 125]

Input: Consider Input: [175, 495, 288, 382, 334, 62, 268, 473, 452, 447, 232, 463, 163, 432, 465, 257, 145, 23, 110, 380]

Output: [175, 23, 288, 382, 334, 62, 268, 473, 452, 447, 232, 463, 163, 432, 465, 257, 145, 495, 110, 380]

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]