TASK DEFINITION: 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.
PROBLEM: [371, 203, 62, 254, 333, 465, 131, 119, 438, 209, 29, 475, 356, 414, 331, 473, 237, 132, 179, 400]

SOLUTION: [371, 203, 62, 254, 333, 465, 131, 119, 438, 209, 356, 414, 331, 473, 237, 132, 179, 400]

PROBLEM: [39, 191, 71, 487, 480, 196, 95, 492, 83, 352, 80, 264, 46, 222, 367, 337, 334, 175, 322, 296]

SOLUTION: [191, 71, 487, 480, 196, 95, 83, 352, 80, 264, 46, 222, 367, 337, 334, 175, 322, 296]

PROBLEM: [18, 35, 303, 342, 95, 102, 132, 331, 164, 108, 276, 381, 301, 143, 44, 74, 408, 398, 56, 256]

SOLUTION:
[35, 303, 342, 95, 102, 132, 331, 164, 108, 276, 381, 301, 143, 44, 74, 398, 56, 256]