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:
[309, 15, 457, 143, 339, 76, 32, 107, 250, 228, 185, 484, 166, 172, 415, 264, 446, 278, 314, 34]

Ex Output:
[309, 484, 457, 143, 339, 76, 32, 107, 250, 228, 185, 15, 166, 172, 415, 264, 446, 278, 314, 34]


Ex Input:
[412, 382, 419, 44, 424, 49, 395, 14, 131, 181, 19, 323, 51, 494, 417, 124, 10, 206, 428, 387]

Ex Output:
[412, 382, 419, 44, 424, 49, 395, 14, 131, 181, 19, 323, 51, 10, 417, 124, 494, 206, 428, 387]


Ex Input:
[178, 290, 466, 27, 49, 124, 287, 462, 459, 486, 489, 464, 48, 13, 293, 136, 482, 407, 336, 415]

Ex Output:

[178, 290, 466, 27, 49, 124, 287, 462, 459, 486, 13, 464, 48, 489, 293, 136, 482, 407, 336, 415]