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.

[Q]: [176, 166, 493, 27, 119, 265, 62, 317, 489, 443, 455, 488, 461, 189, 142, 351, 404, 187, 14, 182]
[A]: [176, 166, 14, 27, 119, 265, 62, 317, 489, 443, 455, 488, 461, 189, 142, 351, 404, 187, 493, 182]


[Q]: [79, 236, 131, 353, 317, 265, 389, 82, 432, 453, 301, 226, 195, 91, 498, 316, 315, 172, 442, 439]
[A]: [498, 236, 131, 353, 317, 265, 389, 82, 432, 453, 301, 226, 195, 91, 79, 316, 315, 172, 442, 439]


[Q]: [419, 339, 472, 142, 46, 298, 90, 160, 378, 258, 389, 305, 364, 138, 233, 274, 122, 78, 124, 322]
[A]:
[419, 339, 46, 142, 472, 298, 90, 160, 378, 258, 389, 305, 364, 138, 233, 274, 122, 78, 124, 322]