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]: [353, 454, 468, 12, 76, 34, 297, 401, 279, 133, 217, 338, 476, 96, 422, 233, 442, 245, 461, 368]
[EX A]: [353, 454, 468, 76, 34, 297, 401, 279, 133, 217, 338, 96, 422, 233, 442, 245, 461, 368]

[EX Q]: [140, 15, 240, 110, 245, 201, 350, 222, 65, 319, 268, 14, 176, 455, 98, 256, 344, 383, 299, 394]
[EX A]: [140, 15, 240, 110, 245, 201, 350, 222, 65, 319, 268, 176, 98, 256, 344, 383, 299, 394]

[EX Q]: [38, 262, 123, 350, 210, 494, 21, 444, 90, 24, 218, 378, 377, 267, 453, 329, 82, 294, 47, 207]
[EX A]:
[38, 262, 123, 350, 210, 444, 90, 24, 218, 378, 377, 267, 453, 329, 82, 294, 47, 207]