instruction:
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.
question:
[262, 28, 30, 382, 287, 474, 413, 349, 356, 15, 202, 313, 86, 17, 204, 306, 229, 227, 247, 47]
answer:
[262, 28, 30, 382, 287, 15, 413, 349, 356, 474, 202, 313, 86, 17, 204, 306, 229, 227, 247, 47]


question:
[161, 38, 129, 34, 32, 387, 172, 89, 220, 189, 257, 229, 218, 43, 268, 39, 210, 411, 22, 99]
answer:
[161, 38, 129, 34, 32, 387, 172, 89, 220, 189, 257, 229, 218, 43, 268, 39, 210, 22, 411, 99]


question:
[372, 297, 467, 302, 239, 498, 99, 110, 432, 442, 496, 478, 98, 458, 449, 331, 427, 175, 315, 49]
answer:

[372, 297, 467, 302, 239, 49, 99, 110, 432, 442, 496, 478, 98, 458, 449, 331, 427, 175, 315, 498]


