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.

[Q]: [35, 75, 406, 19, 87, 39, 419, 497, 145, 307, 110, 241, 402, 449, 471, 189, 221, 283, 225, 386]
[A]: [35, 75, 406, 87, 39, 419, 145, 307, 110, 241, 402, 449, 471, 189, 221, 283, 225, 386]


[Q]: [217, 401, 474, 30, 99, 165, 25, 346, 211, 357, 296, 67, 488, 315, 419, 228, 142, 222, 366, 82]
[A]: [217, 401, 474, 30, 99, 165, 346, 211, 357, 296, 67, 315, 419, 228, 142, 222, 366, 82]


[Q]: [432, 95, 162, 299, 309, 194, 469, 186, 97, 201, 431, 233, 93, 464, 407, 38, 141, 462, 129, 258]
[A]:
[432, 95, 162, 299, 309, 194, 186, 97, 201, 431, 233, 93, 464, 407, 141, 462, 129, 258]