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: [30, 181, 201, 14, 208, 147, 314, 404, 381, 310, 353, 370, 300, 214, 366, 368, 308, 318, 274, 347]

SOLUTION: [30, 181, 201, 208, 147, 314, 381, 310, 353, 370, 300, 214, 366, 368, 308, 318, 274, 347]

PROBLEM: [438, 404, 178, 314, 150, 153, 185, 169, 435, 413, 452, 42, 14, 414, 339, 29, 307, 398, 375, 137]

SOLUTION:
[438, 404, 178, 314, 150, 153, 185, 169, 435, 413, 42, 414, 339, 29, 307, 398, 375, 137]