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: [299, 252, 143, 181, 132, 154, 336, 101, 303, 359, 439, 285, 182, 311, 240, 219, 141, 144, 224, 64]

SOLUTION: [299, 252, 143, 181, 132, 154, 336, 101, 303, 359, 285, 182, 311, 240, 219, 141, 144, 224]

PROBLEM: [396, 348, 356, 333, 63, 417, 10, 449, 274, 59, 23, 37, 50, 277, 117, 245, 377, 405, 414, 85]

SOLUTION: [396, 348, 356, 333, 63, 417, 274, 59, 23, 37, 50, 277, 117, 245, 377, 405, 414, 85]

PROBLEM: [226, 166, 67, 285, 388, 31, 172, 184, 220, 299, 98, 165, 449, 41, 99, 248, 126, 182, 434, 490]

SOLUTION:
[226, 166, 67, 285, 388, 172, 184, 220, 299, 98, 165, 449, 41, 99, 248, 126, 182, 434]