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: [72, 154, 178, 240, 48, 305, 77, 311, 13, 488, 117, 442, 112, 490, 270, 150, 307, 263, 242, 40]

Output: [72, 154, 178, 240, 48, 305, 77, 311, 490, 488, 117, 442, 112, 13, 270, 150, 307, 263, 242, 40]


Input: Consider Input: [140, 445, 344, 121, 328, 36, 73, 139, 244, 416, 309, 192, 319, 134, 412, 93, 195, 355, 76, 279]

Output: [140, 36, 344, 121, 328, 445, 73, 139, 244, 416, 309, 192, 319, 134, 412, 93, 195, 355, 76, 279]


Input: Consider Input: [281, 273, 442, 29, 37, 109, 31, 456, 306, 261, 269, 346, 220, 96, 371, 468, 224, 47, 377, 32]


Output: [281, 273, 442, 468, 37, 109, 31, 456, 306, 261, 269, 346, 220, 96, 371, 29, 224, 47, 377, 32]