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.

[Q]: [284, 192, 241, 120, 272, 56, 301, 437, 201, 125, 65, 433, 424, 259, 174, 269, 52, 44, 418, 97]
[A]: [284, 192, 241, 120, 272, 56, 301, 201, 125, 65, 433, 424, 259, 174, 269, 52, 418, 97]


[Q]: [412, 137, 66, 38, 496, 194, 231, 357, 234, 175, 50, 103, 150, 120, 338, 362, 222, 242, 36, 164]
[A]: [412, 137, 66, 38, 194, 231, 357, 234, 175, 50, 103, 150, 120, 338, 362, 222, 242, 164]


[Q]: [252, 371, 47, 329, 84, 113, 310, 464, 98, 275, 250, 453, 187, 91, 499, 147, 435, 61, 32, 153]
[A]:
[252, 371, 47, 329, 84, 113, 310, 464, 98, 275, 250, 453, 187, 91, 147, 435, 61, 153]