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]: [378, 396, 254, 444, 434, 114, 369, 100, 122, 360, 312, 385, 165, 387, 416, 321, 374, 341, 69, 76]
[A]: [378, 396, 254, 69, 434, 114, 369, 100, 122, 360, 312, 385, 165, 387, 416, 321, 374, 341, 444, 76]

[Q]: [182, 140, 61, 425, 161, 449, 260, 475, 80, 343, 86, 395, 255, 443, 270, 196, 106, 287, 330, 431]
[A]: [182, 140, 475, 425, 161, 449, 260, 61, 80, 343, 86, 395, 255, 443, 270, 196, 106, 287, 330, 431]

[Q]: [262, 28, 30, 382, 287, 474, 413, 349, 356, 15, 202, 313, 86, 17, 204, 306, 229, 227, 247, 47]
[A]:
[262, 28, 30, 382, 287, 15, 413, 349, 356, 474, 202, 313, 86, 17, 204, 306, 229, 227, 247, 47]