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: [25, 266, 227, 468, 309, 322, 381, 155, 271, 86, 284, 469, 108, 499, 389, 184, 464, 384, 198, 352]

Output: [499, 266, 227, 468, 309, 322, 381, 155, 271, 86, 284, 469, 108, 25, 389, 184, 464, 384, 198, 352]


Input: Consider Input: [382, 46, 60, 442, 155, 302, 345, 61, 277, 283, 393, 135, 452, 94, 322, 176, 64, 16, 121, 79]

Output: [382, 46, 60, 442, 155, 302, 345, 61, 277, 283, 393, 135, 16, 94, 322, 176, 64, 452, 121, 79]


Input: Consider Input: [486, 158, 150, 357, 48, 239, 117, 35, 294, 107, 427, 359, 360, 36, 121, 95, 247, 100, 314, 92]


Output: [35, 158, 150, 357, 48, 239, 117, 486, 294, 107, 427, 359, 360, 36, 121, 95, 247, 100, 314, 92]


