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]: [106, 308, 72, 100, 466, 118, 376, 220, 461, 104, 290, 146, 332, 160, 407, 232, 382, 143, 292, 94]
[A]: [106, 308, 100, 118, 376, 220, 461, 104, 290, 146, 332, 160, 407, 232, 382, 143, 292, 94]


[Q]: [48, 111, 78, 307, 167, 74, 84, 332, 99, 291, 457, 294, 278, 368, 203, 53, 205, 359, 183, 140]
[A]: [111, 78, 307, 167, 74, 84, 332, 99, 291, 294, 278, 368, 203, 53, 205, 359, 183, 140]


[Q]: [316, 127, 149, 295, 384, 178, 487, 131, 398, 38, 255, 33, 102, 187, 107, 336, 20, 356, 45, 66]
[A]:
[316, 127, 149, 295, 384, 178, 131, 398, 38, 255, 33, 102, 187, 107, 336, 356, 45, 66]