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: [254, 409, 441, 99, 74, 292, 395, 136, 447, 233, 367, 112, 185, 327, 22, 454, 271, 319, 293, 200]

A: [254, 409, 441, 99, 74, 292, 395, 136, 447, 233, 367, 112, 185, 327, 454, 22, 271, 319, 293, 200]
****
Q: [178, 290, 466, 27, 49, 124, 287, 462, 459, 486, 489, 464, 48, 13, 293, 136, 482, 407, 336, 415]

A: [178, 290, 466, 27, 49, 124, 287, 462, 459, 486, 13, 464, 48, 489, 293, 136, 482, 407, 336, 415]
****
Q: [347, 362, 411, 393, 124, 247, 476, 248, 339, 363, 176, 401, 138, 388, 379, 291, 389, 455, 87, 263]

A:
[347, 362, 411, 393, 124, 247, 87, 248, 339, 363, 176, 401, 138, 388, 379, 291, 389, 455, 476, 263]
****