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:
[162, 27, 140, 274, 414, 376, 104, 159, 418, 155, 493, 151, 422, 335, 187, 292, 217, 31, 248, 84]
answer:
[162, 493, 140, 274, 414, 376, 104, 159, 418, 155, 27, 151, 422, 335, 187, 292, 217, 31, 248, 84]


question:
[176, 53, 364, 186, 192, 406, 144, 349, 275, 354, 397, 60, 161, 311, 369, 342, 170, 248, 252, 472]
answer:
[176, 472, 364, 186, 192, 406, 144, 349, 275, 354, 397, 60, 161, 311, 369, 342, 170, 248, 252, 53]


question:
[336, 470, 324, 58, 152, 186, 335, 68, 236, 425, 331, 369, 300, 115, 376, 286, 130, 439, 426, 358]
answer:

[336, 58, 324, 470, 152, 186, 335, 68, 236, 425, 331, 369, 300, 115, 376, 286, 130, 439, 426, 358]


