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: [339, 40, 321, 337, 489, 221, 228, 415, 267, 120, 408, 287, 363, 317, 99, 193, 262, 474, 448, 443]

Output: [339, 489, 321, 337, 40, 221, 228, 415, 267, 120, 408, 287, 363, 317, 99, 193, 262, 474, 448, 443]

Input: Consider Input: [37, 209, 296, 193, 425, 406, 464, 350, 100, 204, 67, 357, 132, 99, 127, 183, 338, 444, 169, 358]

Output: [464, 209, 296, 193, 425, 406, 37, 350, 100, 204, 67, 357, 132, 99, 127, 183, 338, 444, 169, 358]

Input: Consider Input: [116, 179, 154, 304, 278, 217, 92, 479, 371, 145, 273, 61, 369, 135, 206, 115, 182, 212, 269, 63]
Output: [116, 179, 154, 304, 278, 217, 92, 61, 371, 145, 273, 479, 369, 135, 206, 115, 182, 212, 269, 63]