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: [190, 43, 71, 390, 182, 235, 154, 282, 493, 69, 468, 317, 489, 132, 336, 375, 160, 432, 163, 374]

Output: [190, 493, 71, 390, 182, 235, 154, 282, 43, 69, 468, 317, 489, 132, 336, 375, 160, 432, 163, 374]

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]

Input: Consider Input: [83, 244, 378, 130, 291, 190, 199, 474, 112, 225, 109, 450, 228, 439, 143, 227, 394, 47, 203, 246]
Output: [83, 244, 378, 130, 291, 190, 199, 47, 112, 225, 109, 450, 228, 439, 143, 227, 394, 474, 203, 246]