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:
[337, 269, 373, 439, 95, 446, 50, 333, 16, 318, 259, 342, 224, 461, 52, 171, 154, 193, 395, 122]

Ex Output:
[337, 269, 373, 439, 95, 446, 50, 333, 461, 318, 259, 342, 224, 16, 52, 171, 154, 193, 395, 122]


Ex Input:
[335, 387, 238, 71, 92, 382, 227, 348, 383, 475, 117, 181, 345, 288, 23, 397, 39, 273, 343, 202]

Ex Output:
[335, 387, 238, 71, 92, 382, 227, 348, 383, 23, 117, 181, 345, 288, 475, 397, 39, 273, 343, 202]


Ex Input:
[116, 179, 154, 304, 278, 217, 92, 479, 371, 145, 273, 61, 369, 135, 206, 115, 182, 212, 269, 63]

Ex Output:

[116, 179, 154, 304, 278, 217, 92, 61, 371, 145, 273, 479, 369, 135, 206, 115, 182, 212, 269, 63]