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:
[420, 59, 180, 32, 111, 494, 38, 282, 435, 432, 147, 422, 414, 260, 51, 332, 343, 207, 362, 474]

Ex Output:
[420, 59, 180, 494, 111, 32, 38, 282, 435, 432, 147, 422, 414, 260, 51, 332, 343, 207, 362, 474]


Ex Input:
[331, 255, 149, 439, 494, 421, 356, 361, 394, 496, 342, 396, 137, 364, 189, 47, 174, 353, 220, 219]

Ex Output:
[331, 255, 149, 439, 494, 421, 356, 361, 394, 47, 342, 396, 137, 364, 189, 496, 174, 353, 220, 219]


Ex Input:
[134, 90, 332, 408, 359, 366, 186, 335, 474, 378, 249, 307, 302, 421, 171, 461, 422, 30, 344, 295]

Ex Output:

[134, 90, 332, 408, 359, 366, 186, 335, 30, 378, 249, 307, 302, 421, 171, 461, 422, 474, 344, 295]