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:
[229, 218, 15, 175, 68, 460, 146, 243, 61, 98, 351, 192, 459, 481, 10, 186, 442, 309, 34, 498]
answer:
[229, 218, 15, 175, 68, 460, 146, 243, 61, 98, 351, 192, 459, 481, 498, 186, 442, 309, 34, 10]

question:
[51, 478, 19, 347, 243, 112, 95, 326, 321, 23, 230, 161, 74, 99, 409, 440, 405, 377, 317, 481]
answer:
[51, 478, 481, 347, 243, 112, 95, 326, 321, 23, 230, 161, 74, 99, 409, 440, 405, 377, 317, 19]

question:
[159, 271, 473, 31, 27, 126, 320, 353, 71, 432, 214, 249, 440, 266, 170, 185, 324, 398, 399, 23]
answer:
[159, 271, 23, 31, 27, 126, 320, 353, 71, 432, 214, 249, 440, 266, 170, 185, 324, 398, 399, 473]