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: [243, 312, 181, 499, 87, 173, 341, 443, 203, 314, 47, 198, 152, 41, 208, 184, 274, 437, 26, 226]

A: [243, 312, 181, 26, 87, 173, 341, 443, 203, 314, 47, 198, 152, 41, 208, 184, 274, 437, 499, 226]
****
Q: [442, 236, 497, 400, 458, 262, 338, 325, 251, 129, 425, 385, 465, 482, 345, 372, 337, 461, 486, 310]

A: [442, 236, 129, 400, 458, 262, 338, 325, 251, 497, 425, 385, 465, 482, 345, 372, 337, 461, 486, 310]
****
Q: [402, 163, 200, 51, 25, 229, 74, 242, 123, 267, 167, 91, 50, 166, 184, 452, 323, 315, 70, 177]

A:
[402, 163, 200, 51, 452, 229, 74, 242, 123, 267, 167, 91, 50, 166, 184, 25, 323, 315, 70, 177]
****