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]: [124, 441, 385, 280, 161, 451, 497, 181, 54, 260, 282, 23, 492, 325, 312, 433, 303, 472, 120, 174]
[A]: [124, 441, 385, 280, 161, 451, 181, 54, 260, 282, 492, 325, 312, 433, 303, 472, 120, 174]


[Q]: [39, 191, 71, 487, 480, 196, 95, 492, 83, 352, 80, 264, 46, 222, 367, 337, 334, 175, 322, 296]
[A]: [191, 71, 487, 480, 196, 95, 83, 352, 80, 264, 46, 222, 367, 337, 334, 175, 322, 296]


[Q]: [371, 203, 62, 254, 333, 465, 131, 119, 438, 209, 29, 475, 356, 414, 331, 473, 237, 132, 179, 400]
[A]:
[371, 203, 62, 254, 333, 465, 131, 119, 438, 209, 356, 414, 331, 473, 237, 132, 179, 400]