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: [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: [140, 259, 99, 233, 295, 254, 411, 426, 93, 483, 24, 355, 11, 404, 496, 314, 79, 21, 58, 246]

SOLUTION: [140, 259, 99, 233, 295, 254, 411, 426, 93, 483, 24, 355, 404, 314, 79, 21, 58, 246]

PROBLEM: [404, 426, 303, 243, 105, 476, 238, 120, 25, 64, 152, 285, 111, 75, 312, 368, 379, 143, 438, 195]

SOLUTION:
[404, 426, 303, 243, 105, 238, 120, 64, 152, 285, 111, 75, 312, 368, 379, 143, 438, 195]