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: [30, 294, 476, 39, 326, 132, 76, 359, 333, 493, 94, 12, 389, 398, 298, 57, 321, 202, 259, 310]

Answer: [30, 294, 476, 39, 326, 132, 76, 359, 333, 94, 389, 398, 298, 57, 321, 202, 259, 310]


Question: [218, 206, 376, 271, 360, 378, 419, 249, 132, 211, 455, 181, 306, 276, 413, 125, 79, 104, 75, 163]

Answer: [218, 206, 376, 271, 360, 378, 419, 249, 132, 211, 181, 306, 276, 413, 125, 79, 104, 163]


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]