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]: [299, 252, 143, 181, 132, 154, 336, 101, 303, 359, 439, 285, 182, 311, 240, 219, 141, 144, 224, 64]
[A]: [299, 252, 143, 181, 132, 154, 336, 101, 303, 359, 285, 182, 311, 240, 219, 141, 144, 224]


[Q]: [182, 423, 307, 180, 23, 237, 204, 485, 58, 304, 401, 263, 122, 27, 325, 223, 59, 228, 479, 384]
[A]: [182, 423, 307, 180, 237, 204, 58, 304, 401, 263, 122, 27, 325, 223, 59, 228, 479, 384]


[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]