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:
[164, 283, 457, 383, 34, 309, 131, 94, 445, 438, 268, 246, 274, 91, 130, 216, 97, 258, 41, 489]
answer:
[164, 283, 457, 383, 489, 309, 131, 94, 445, 438, 268, 246, 274, 91, 130, 216, 97, 258, 41, 34]


question:
[217, 60, 362, 379, 424, 219, 47, 248, 439, 478, 349, 251, 485, 127, 202, 226, 270, 402, 105, 467]
answer:
[217, 60, 362, 379, 424, 219, 485, 248, 439, 478, 349, 251, 47, 127, 202, 226, 270, 402, 105, 467]


question:
[339, 229, 429, 239, 321, 334, 115, 36, 456, 269, 402, 483, 230, 453, 378, 262, 299, 227, 238, 268]
answer:

[339, 229, 429, 239, 321, 334, 115, 483, 456, 269, 402, 36, 230, 453, 378, 262, 299, 227, 238, 268]