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]: [30, 181, 201, 14, 208, 147, 314, 404, 381, 310, 353, 370, 300, 214, 366, 368, 308, 318, 274, 347]
[A]: [30, 181, 201, 208, 147, 314, 381, 310, 353, 370, 300, 214, 366, 368, 308, 318, 274, 347]


[Q]: [131, 176, 56, 381, 470, 198, 77, 294, 142, 202, 486, 357, 146, 337, 287, 383, 262, 298, 442, 356]
[A]: [131, 176, 381, 470, 198, 77, 294, 142, 202, 357, 146, 337, 287, 383, 262, 298, 442, 356]


[Q]: [252, 280, 421, 34, 303, 47, 235, 130, 415, 335, 263, 377, 419, 473, 243, 296, 226, 479, 363, 326]
[A]:
[252, 280, 421, 303, 47, 235, 130, 415, 335, 263, 377, 419, 473, 243, 296, 226, 363, 326]