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]: [199, 126, 455, 121, 253, 469, 302, 99, 235, 119, 488, 257, 271, 90, 132, 395, 213, 30, 55, 477]
[A]: [199, 126, 455, 121, 253, 469, 302, 99, 235, 119, 257, 271, 90, 132, 395, 213, 55, 477]

[Q]: [358, 412, 408, 190, 313, 427, 238, 259, 199, 119, 367, 272, 101, 277, 287, 137, 250, 413, 75, 302]
[A]: [358, 412, 408, 190, 313, 238, 259, 199, 119, 367, 272, 101, 277, 287, 137, 250, 413, 302]

[Q]: [39, 191, 71, 487, 480, 196, 95, 492, 83, 352, 80, 264, 46, 222, 367, 337, 334, 175, 322, 296]
[A]:
[191, 71, 487, 480, 196, 95, 83, 352, 80, 264, 46, 222, 367, 337, 334, 175, 322, 296]