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: [328, 399, 81, 127, 466, 77, 360, 489, 346, 413, 406, 359, 431, 197, 26, 451, 120, 237, 443, 427]

Output: [328, 399, 81, 127, 466, 77, 360, 26, 346, 413, 406, 359, 431, 197, 489, 451, 120, 237, 443, 427]


Input: Consider Input: [32, 14, 400, 228, 387, 277, 427, 108, 481, 479, 154, 432, 398, 142, 115, 173, 286, 267, 356, 183]

Output: [32, 481, 400, 228, 387, 277, 427, 108, 14, 479, 154, 432, 398, 142, 115, 173, 286, 267, 356, 183]


Input: Consider Input: [60, 83, 17, 71, 59, 325, 38, 236, 206, 52, 25, 399, 177, 386, 180, 123, 466, 366, 444, 237]


Output: [60, 83, 466, 71, 59, 325, 38, 236, 206, 52, 25, 399, 177, 386, 180, 123, 17, 366, 444, 237]


