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.

[40, 47, 450, 284, 109, 189, 448, 296, 104, 12, 148, 65, 300, 394, 25, 31, 193, 118, 203, 250]
[40, 47, 284, 109, 189, 448, 296, 104, 148, 65, 300, 394, 25, 31, 193, 118, 203, 250]

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

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

[412, 140, 260, 335, 394, 456, 453, 482, 286, 467, 288, 66, 424, 160, 111, 103, 408, 69]