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]: [169, 350, 185, 108, 112, 167, 64, 279, 397, 41, 277, 459, 151, 179, 408, 462, 474, 498, 306, 388]
[A]: [169, 350, 185, 108, 112, 167, 64, 279, 397, 277, 459, 151, 179, 408, 462, 474, 306, 388]


[Q]: [280, 437, 173, 59, 180, 211, 399, 136, 90, 473, 166, 153, 21, 484, 415, 96, 332, 315, 53, 478]
[A]: [280, 437, 173, 59, 180, 211, 399, 136, 90, 473, 166, 153, 415, 96, 332, 315, 53, 478]


[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]