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:
[419, 339, 472, 142, 46, 298, 90, 160, 378, 258, 389, 305, 364, 138, 233, 274, 122, 78, 124, 322]
answer:
[419, 339, 46, 142, 472, 298, 90, 160, 378, 258, 389, 305, 364, 138, 233, 274, 122, 78, 124, 322]


question:
[64, 35, 266, 412, 289, 233, 485, 316, 384, 425, 129, 297, 105, 74, 353, 197, 473, 89, 164, 163]
answer:
[64, 485, 266, 412, 289, 233, 35, 316, 384, 425, 129, 297, 105, 74, 353, 197, 473, 89, 164, 163]


question:
[362, 207, 161, 47, 268, 177, 18, 311, 12, 137, 368, 493, 300, 447, 140, 448, 495, 405, 388, 244]
answer:

[362, 207, 161, 47, 268, 177, 18, 311, 495, 137, 368, 493, 300, 447, 140, 448, 12, 405, 388, 244]