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:
[320, 10, 227, 416, 142, 312, 60, 139, 293, 413, 376, 404, 407, 180, 379, 303, 286, 315, 26, 240]

Ex Output:
[320, 416, 227, 10, 142, 312, 60, 139, 293, 413, 376, 404, 407, 180, 379, 303, 286, 315, 26, 240]


Ex Input:
[159, 271, 473, 31, 27, 126, 320, 353, 71, 432, 214, 249, 440, 266, 170, 185, 324, 398, 399, 23]

Ex Output:
[159, 271, 23, 31, 27, 126, 320, 353, 71, 432, 214, 249, 440, 266, 170, 185, 324, 398, 399, 473]


Ex Input:
[352, 19, 343, 202, 392, 372, 496, 393, 355, 178, 310, 399, 183, 281, 425, 62, 76, 82, 438, 249]

Ex Output:

[352, 496, 343, 202, 392, 372, 19, 393, 355, 178, 310, 399, 183, 281, 425, 62, 76, 82, 438, 249]


