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: [373, 11, 221, 335, 379, 78, 180, 303, 453, 359, 80, 298, 100, 433, 428, 96, 125, 45, 48, 139]

Output: [373, 453, 221, 335, 379, 78, 180, 303, 11, 359, 80, 298, 100, 433, 428, 96, 125, 45, 48, 139]


Input: Consider Input: [447, 170, 78, 324, 75, 397, 187, 24, 79, 73, 148, 127, 277, 419, 121, 408, 20, 384, 354, 109]

Output: [20, 170, 78, 324, 75, 397, 187, 24, 79, 73, 148, 127, 277, 419, 121, 408, 447, 384, 354, 109]


Input: Consider Input: [11, 396, 382, 413, 109, 386, 294, 389, 378, 132, 230, 358, 385, 371, 176, 242, 423, 313, 436, 272]


Output: [436, 396, 382, 413, 109, 386, 294, 389, 378, 132, 230, 358, 385, 371, 176, 242, 423, 313, 11, 272]