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: [474, 127, 371, 252, 472, 257, 150, 361, 121, 230, 313, 392, 157, 67, 143, 336, 408, 211, 29, 140]

Answer: [127, 371, 252, 472, 257, 150, 361, 121, 230, 313, 392, 157, 67, 143, 336, 408, 211, 140]

Question: [443, 370, 299, 267, 111, 436, 329, 237, 472, 235, 454, 372, 344, 378, 310, 170, 262, 480, 80, 290]

Answer: [443, 370, 299, 267, 111, 436, 329, 237, 472, 235, 454, 372, 344, 378, 310, 170, 262, 290]

Question: [96, 173, 120, 362, 235, 73, 383, 490, 193, 394, 285, 328, 437, 381, 297, 158, 453, 60, 430, 282]

Answer:
[96, 173, 120, 362, 235, 73, 383, 193, 394, 285, 328, 437, 381, 297, 158, 453, 430, 282]