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:
[360, 195, 110, 450, 104, 17, 156, 344, 274, 289, 100, 277, 245, 381, 248, 172, 73, 238, 253, 357]

Ex Output:
[360, 195, 110, 17, 104, 450, 156, 344, 274, 289, 100, 277, 245, 381, 248, 172, 73, 238, 253, 357]


Ex Input:
[180, 328, 143, 398, 304, 22, 357, 214, 233, 334, 242, 477, 55, 281, 497, 71, 173, 381, 314, 336]

Ex Output:

[180, 328, 143, 398, 304, 497, 357, 214, 233, 334, 242, 477, 55, 281, 22, 71, 173, 381, 314, 336]