Detailed Instructions: 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.
Q: [392, 479, 350, 154, 365, 482, 375, 137, 94, 402, 220, 343, 175, 466, 36, 83, 104, 413, 296, 487]
A:
[392, 479, 350, 154, 365, 482, 375, 137, 94, 402, 220, 343, 175, 466, 83, 104, 413, 296]