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: [327, 436, 340, 301, 485, 256, 28, 448, 492, 271, 276, 431, 130, 359, 91, 221, 319, 87, 157, 224]

Output: [327, 436, 340, 301, 485, 256, 492, 448, 28, 271, 276, 431, 130, 359, 91, 221, 319, 87, 157, 224]

Input: Consider Input: [174, 287, 437, 168, 125, 479, 31, 262, 301, 291, 102, 37, 152, 335, 325, 153, 248, 213, 233, 34]

Output: [174, 287, 437, 168, 125, 31, 479, 262, 301, 291, 102, 37, 152, 335, 325, 153, 248, 213, 233, 34]

Input: Consider Input: [124, 237, 236, 395, 482, 404, 446, 420, 132, 280, 310, 155, 306, 143, 44, 10, 235, 77, 15, 194]
Output: [124, 237, 236, 395, 10, 404, 446, 420, 132, 280, 310, 155, 306, 143, 44, 482, 235, 77, 15, 194]