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]: [343, 157, 391, 238, 311, 143, 397, 159, 270, 176, 301, 319, 300, 134, 154, 121, 441, 274, 489, 103]
[A]: [343, 157, 391, 238, 311, 143, 397, 159, 270, 176, 301, 319, 300, 134, 154, 121, 441, 274]


[Q]: [417, 138, 283, 185, 305, 188, 35, 243, 291, 310, 12, 39, 463, 199, 239, 70, 381, 358, 30, 380]
[A]: [417, 138, 283, 185, 305, 188, 35, 243, 291, 310, 39, 199, 239, 70, 381, 358, 30, 380]


[Q]: [308, 152, 482, 111, 406, 290, 466, 303, 153, 60, 15, 270, 398, 473, 417, 69, 499, 43, 454, 280]
[A]:
[308, 152, 482, 111, 406, 290, 466, 303, 153, 60, 270, 398, 473, 417, 69, 43, 454, 280]