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.

Ex Input:
[471, 416, 38, 475, 92, 200, 179, 165, 124, 194, 163, 55, 292, 161, 315, 177, 120, 91, 128, 29]

Ex Output:
[471, 416, 38, 29, 92, 200, 179, 165, 124, 194, 163, 55, 292, 161, 315, 177, 120, 91, 128, 475]


Ex Input:
[164, 283, 457, 383, 34, 309, 131, 94, 445, 438, 268, 246, 274, 91, 130, 216, 97, 258, 41, 489]

Ex Output:
[164, 283, 457, 383, 489, 309, 131, 94, 445, 438, 268, 246, 274, 91, 130, 216, 97, 258, 41, 34]


Ex Input:
[162, 27, 140, 274, 414, 376, 104, 159, 418, 155, 493, 151, 422, 335, 187, 292, 217, 31, 248, 84]

Ex Output:

[162, 493, 140, 274, 414, 376, 104, 159, 418, 155, 27, 151, 422, 335, 187, 292, 217, 31, 248, 84]


