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.
--------
Question: [106, 391, 309, 73, 281, 120, 59, 360, 52, 156, 217, 21, 192, 464, 394, 288, 432, 356, 349, 273]

Answer: [106, 391, 309, 73, 281, 120, 59, 360, 52, 156, 217, 192, 394, 288, 432, 356, 349, 273]


Question: [82, 73, 183, 224, 442, 470, 301, 219, 460, 260, 12, 245, 451, 136, 140, 286, 485, 18, 491, 186]

Answer: [82, 73, 183, 224, 442, 470, 301, 219, 460, 260, 245, 451, 136, 140, 286, 485, 18, 186]


Question: [169, 479, 63, 103, 352, 422, 83, 481, 255, 291, 77, 499, 184, 18, 234, 193, 149, 269, 38, 307]

Answer:
[169, 479, 63, 103, 352, 422, 83, 481, 255, 291, 77, 184, 234, 193, 149, 269, 38, 307]