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:
[66, 42, 133, 89, 419, 355, 104, 212, 452, 198, 240, 102, 496, 199, 68, 415, 364, 88, 491, 465]

Ex Output:
[66, 496, 133, 89, 419, 355, 104, 212, 452, 198, 240, 102, 42, 199, 68, 415, 364, 88, 491, 465]


Ex Input:
[181, 410, 164, 375, 232, 351, 327, 52, 382, 128, 162, 248, 344, 478, 477, 284, 243, 73, 218, 35]

Ex Output:
[181, 410, 164, 375, 232, 351, 327, 52, 382, 128, 162, 248, 344, 35, 477, 284, 243, 73, 218, 478]


Ex Input:
[266, 446, 112, 116, 14, 309, 407, 256, 27, 109, 13, 118, 448, 412, 135, 288, 270, 158, 189, 75]

Ex Output:

[266, 446, 112, 116, 14, 309, 407, 256, 27, 109, 448, 118, 13, 412, 135, 288, 270, 158, 189, 75]