In this task, you are given a list of numbers. The list of numbers is separated with comma and inside brackets. You need to remove the maximum(the number with the largest value) and minimum(the number with the smallest value) element from the list and return the list in the same order as input. Your answer should be a list of numbers separated by comma, inside brackets.
--------
Question: [322, 427, 397, 485, 64, 72, 390, 153, 58, 128, 314, 215, 360, 438, 14, 468, 323, 286, 422, 32]

Answer: [322, 427, 397, 64, 72, 390, 153, 58, 128, 314, 215, 360, 438, 468, 323, 286, 422, 32]


Question: [40, 47, 450, 284, 109, 189, 448, 296, 104, 12, 148, 65, 300, 394, 25, 31, 193, 118, 203, 250]

Answer: [40, 47, 284, 109, 189, 448, 296, 104, 148, 65, 300, 394, 25, 31, 193, 118, 203, 250]


Question: [479, 274, 298, 481, 240, 412, 173, 127, 214, 130, 50, 341, 359, 219, 276, 202, 100, 431, 432, 496]

Answer:
[479, 274, 298, 481, 240, 412, 173, 127, 214, 130, 341, 359, 219, 276, 202, 100, 431, 432]