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: [480, 194, 225, 247, 223, 287, 237, 418, 83, 73, 170, 91, 118, 325, 211, 62, 440, 191, 384, 442]

Output: [62, 194, 225, 247, 223, 287, 237, 418, 83, 73, 170, 91, 118, 325, 211, 480, 440, 191, 384, 442]


Input: Consider Input: [384, 245, 493, 489, 397, 346, 336, 151, 166, 395, 179, 83, 351, 340, 421, 223, 14, 13, 160, 186]

Output: [384, 245, 13, 489, 397, 346, 336, 151, 166, 395, 179, 83, 351, 340, 421, 223, 14, 493, 160, 186]


Input: Consider Input: [337, 269, 373, 439, 95, 446, 50, 333, 16, 318, 259, 342, 224, 461, 52, 171, 154, 193, 395, 122]


Output: [337, 269, 373, 439, 95, 446, 50, 333, 461, 318, 259, 342, 224, 16, 52, 171, 154, 193, 395, 122]