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:
[243, 171, 26, 446, 109, 477, 285, 67, 193, 123, 335, 288, 357, 135, 51, 464, 257, 447, 208, 240]

Ex Output:
[243, 171, 477, 446, 109, 26, 285, 67, 193, 123, 335, 288, 357, 135, 51, 464, 257, 447, 208, 240]


Ex Input:
[175, 495, 288, 382, 334, 62, 268, 473, 452, 447, 232, 463, 163, 432, 465, 257, 145, 23, 110, 380]

Ex Output:
[175, 23, 288, 382, 334, 62, 268, 473, 452, 447, 232, 463, 163, 432, 465, 257, 145, 495, 110, 380]


Ex Input:
[145, 414, 184, 316, 312, 330, 434, 182, 365, 119, 224, 393, 498, 19, 460, 157, 388, 57, 465, 315]

Ex Output:

[145, 414, 184, 316, 312, 330, 434, 182, 365, 119, 224, 393, 19, 498, 460, 157, 388, 57, 465, 315]