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.

[EX Q]: [127, 378, 365, 342, 265, 282, 57, 326, 68, 222, 141, 210, 493, 102, 410, 140, 101, 360, 96, 419]
[EX A]: [127, 378, 365, 342, 265, 282, 326, 68, 222, 141, 210, 102, 410, 140, 101, 360, 96, 419]

[EX Q]: [412, 140, 260, 335, 394, 456, 453, 41, 482, 286, 467, 288, 66, 490, 424, 160, 111, 103, 408, 69]
[EX A]: [412, 140, 260, 335, 394, 456, 453, 482, 286, 467, 288, 66, 424, 160, 111, 103, 408, 69]

[EX Q]: [349, 427, 315, 172, 391, 481, 333, 65, 87, 20, 489, 329, 266, 48, 32, 291, 265, 342, 458, 256]
[EX A]:
[349, 427, 315, 172, 391, 481, 333, 65, 87, 329, 266, 48, 32, 291, 265, 342, 458, 256]