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:
[164, 283, 457, 383, 34, 309, 131, 94, 445, 438, 268, 246, 274, 91, 130, 216, 97, 258, 41, 489]

Ex Output:
[164, 283, 457, 383, 489, 309, 131, 94, 445, 438, 268, 246, 274, 91, 130, 216, 97, 258, 41, 34]


Ex Input:
[72, 413, 263, 368, 213, 59, 15, 109, 330, 249, 419, 73, 267, 485, 499, 353, 210, 476, 118, 339]

Ex Output:
[72, 413, 263, 368, 213, 59, 499, 109, 330, 249, 419, 73, 267, 485, 15, 353, 210, 476, 118, 339]


Ex Input:
[32, 38, 226, 302, 412, 380, 104, 120, 23, 495, 482, 150, 450, 183, 238, 453, 213, 159, 268, 60]

Ex Output:

[32, 38, 226, 302, 412, 380, 104, 120, 495, 23, 482, 150, 450, 183, 238, 453, 213, 159, 268, 60]