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: [192, 94, 99, 190, 320, 247, 334, 53, 177, 142, 451, 184, 496, 19, 117, 14, 265, 140, 430, 484]

Output: [192, 94, 99, 190, 320, 247, 334, 53, 177, 142, 451, 184, 14, 19, 117, 496, 265, 140, 430, 484]


Input: Consider Input: [280, 30, 116, 130, 278, 303, 343, 230, 168, 140, 330, 216, 58, 373, 156, 94, 408, 121, 225, 212]

Output: [280, 408, 116, 130, 278, 303, 343, 230, 168, 140, 330, 216, 58, 373, 156, 94, 30, 121, 225, 212]


Input: Consider Input: [406, 96, 257, 366, 379, 330, 393, 91, 131, 465, 210, 135, 385, 484, 295, 201, 146, 94, 342, 205]


Output: [406, 96, 257, 366, 379, 330, 393, 484, 131, 465, 210, 135, 385, 91, 295, 201, 146, 94, 342, 205]