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.

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

[432, 95, 162, 299, 309, 194, 469, 186, 97, 201, 431, 233, 93, 464, 407, 38, 141, 462, 129, 258]
[432, 95, 162, 299, 309, 194, 186, 97, 201, 431, 233, 93, 464, 407, 141, 462, 129, 258]

[349, 475, 128, 394, 133, 34, 155, 291, 428, 484, 19, 219, 44, 81, 132, 96, 240, 430, 326, 205]
[349, 475, 128, 394, 133, 34, 155, 291, 428, 219, 44, 81, 132, 96, 240, 430, 326, 205]