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]: [412, 67, 433, 467, 14, 32, 418, 387, 203, 206, 170, 180, 28, 485, 57, 100, 162, 366, 61, 281]
[EX A]: [412, 67, 433, 467, 32, 418, 387, 203, 206, 170, 180, 28, 57, 100, 162, 366, 61, 281]

[EX Q]: [403, 300, 162, 435, 35, 100, 286, 145, 494, 164, 351, 110, 197, 260, 82, 46, 419, 14, 196, 147]
[EX A]: [403, 300, 162, 435, 35, 100, 286, 145, 164, 351, 110, 197, 260, 82, 46, 419, 196, 147]

[EX Q]: [498, 134, 471, 453, 333, 255, 40, 94, 230, 241, 116, 28, 109, 310, 375, 478, 160, 198, 420, 45]
[EX A]:
[134, 471, 453, 333, 255, 40, 94, 230, 241, 116, 109, 310, 375, 478, 160, 198, 420, 45]