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: [498, 134, 471, 453, 333, 255, 40, 94, 230, 241, 116, 28, 109, 310, 375, 478, 160, 198, 420, 45]

Answer: [134, 471, 453, 333, 255, 40, 94, 230, 241, 116, 109, 310, 375, 478, 160, 198, 420, 45]


Question: [209, 150, 39, 109, 416, 204, 492, 253, 341, 181, 294, 228, 106, 189, 441, 239, 248, 335, 486, 92]

Answer: [209, 150, 109, 416, 204, 253, 341, 181, 294, 228, 106, 189, 441, 239, 248, 335, 486, 92]


Question: [351, 275, 373, 100, 165, 48, 325, 485, 431, 331, 441, 497, 42, 243, 453, 291, 183, 449, 88, 427]

Answer:
[351, 275, 373, 100, 165, 48, 325, 485, 431, 331, 441, 243, 453, 291, 183, 449, 88, 427]