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: [148, 107, 470, 218, 40, 464, 221, 443, 295, 328, 59, 419, 248, 213, 298, 467, 135, 75, 281, 65]

SOLUTION: [148, 107, 218, 464, 221, 443, 295, 328, 59, 419, 248, 213, 298, 467, 135, 75, 281, 65]

PROBLEM: [443, 370, 299, 267, 111, 436, 329, 237, 472, 235, 454, 372, 344, 378, 310, 170, 262, 480, 80, 290]

SOLUTION: [443, 370, 299, 267, 111, 436, 329, 237, 472, 235, 454, 372, 344, 378, 310, 170, 262, 290]

PROBLEM: [172, 161, 153, 207, 319, 60, 418, 467, 247, 387, 460, 200, 121, 413, 175, 150, 83, 256, 462, 265]

SOLUTION:
[172, 161, 153, 207, 319, 418, 247, 387, 460, 200, 121, 413, 175, 150, 83, 256, 462, 265]