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:
[31, 364, 162, 376, 36, 497, 64, 10, 403, 264, 166, 426, 308, 232, 95, 406, 33, 170, 40, 311]
answer:
[31, 364, 162, 376, 36, 10, 64, 497, 403, 264, 166, 426, 308, 232, 95, 406, 33, 170, 40, 311]


question:
[446, 271, 355, 181, 214, 338, 42, 398, 235, 467, 57, 92, 56, 282, 99, 222, 420, 339, 50, 472]
answer:
[446, 271, 355, 181, 214, 338, 472, 398, 235, 467, 57, 92, 56, 282, 99, 222, 420, 339, 50, 42]


question:
[106, 196, 137, 46, 222, 397, 497, 442, 244, 464, 481, 303, 424, 177, 390, 143, 308, 422, 473, 82]
answer:

[106, 196, 137, 497, 222, 397, 46, 442, 244, 464, 481, 303, 424, 177, 390, 143, 308, 422, 473, 82]


