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: [145, 414, 184, 316, 312, 330, 434, 182, 365, 119, 224, 393, 498, 19, 460, 157, 388, 57, 465, 315]

Output: [145, 414, 184, 316, 312, 330, 434, 182, 365, 119, 224, 393, 19, 498, 460, 157, 388, 57, 465, 315]


Input: Consider Input: [147, 166, 285, 83, 18, 144, 240, 153, 15, 161, 168, 288, 415, 492, 155, 493, 165, 85, 110, 447]

Output: [147, 166, 285, 83, 18, 144, 240, 153, 493, 161, 168, 288, 415, 492, 155, 15, 165, 85, 110, 447]


Input: Consider Input: [63, 76, 415, 162, 264, 208, 139, 178, 100, 93, 368, 360, 491, 420, 392, 58, 301, 366, 430, 445]


Output: [63, 76, 415, 162, 264, 208, 139, 178, 100, 93, 368, 360, 58, 420, 392, 491, 301, 366, 430, 445]