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: [112, 420, 247, 383, 265, 209, 428, 353, 259, 427, 149, 322, 309, 54, 213, 408, 118, 342, 434, 486]

SOLUTION: [112, 420, 247, 383, 265, 209, 428, 353, 259, 427, 149, 322, 309, 213, 408, 118, 342, 434]

PROBLEM: [64, 460, 181, 463, 242, 113, 252, 152, 198, 125, 232, 214, 106, 40, 310, 119, 363, 358, 296, 342]

SOLUTION: [64, 460, 181, 242, 113, 252, 152, 198, 125, 232, 214, 106, 310, 119, 363, 358, 296, 342]

PROBLEM: [127, 378, 365, 342, 265, 282, 57, 326, 68, 222, 141, 210, 493, 102, 410, 140, 101, 360, 96, 419]

SOLUTION:
[127, 378, 365, 342, 265, 282, 326, 68, 222, 141, 210, 102, 410, 140, 101, 360, 96, 419]