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: [232, 29, 315, 409, 43, 155, 471, 68, 350, 90, 27, 368, 277, 286, 323, 452, 119, 491, 54, 455]

Answer: [232, 29, 315, 409, 43, 155, 471, 68, 350, 90, 368, 277, 286, 323, 452, 119, 54, 455]


Question: [163, 98, 437, 147, 434, 364, 60, 172, 375, 181, 225, 470, 366, 305, 153, 282, 290, 185, 322, 297]

Answer: [163, 98, 437, 147, 434, 364, 172, 375, 181, 225, 366, 305, 153, 282, 290, 185, 322, 297]


Question: [465, 197, 210, 43, 382, 223, 247, 65, 332, 73, 230, 25, 394, 224, 377, 238, 329, 249, 131, 420]

Answer:
[197, 210, 43, 382, 223, 247, 65, 332, 73, 230, 394, 224, 377, 238, 329, 249, 131, 420]