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: [251, 295, 130, 340, 258, 247, 486, 11, 213, 462, 303, 129, 345, 440, 415, 354, 276, 298, 259, 482]

Answer: [251, 295, 130, 340, 258, 247, 213, 462, 303, 129, 345, 440, 415, 354, 276, 298, 259, 482]


Question: [263, 51, 349, 480, 330, 377, 135, 386, 264, 155, 404, 454, 237, 375, 496, 362, 441, 63, 378, 331]

Answer: [263, 349, 480, 330, 377, 135, 386, 264, 155, 404, 454, 237, 375, 362, 441, 63, 378, 331]


Question: [112, 420, 247, 383, 265, 209, 428, 353, 259, 427, 149, 322, 309, 54, 213, 408, 118, 342, 434, 486]

Answer:
[112, 420, 247, 383, 265, 209, 428, 353, 259, 427, 149, 322, 309, 213, 408, 118, 342, 434]