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: [48, 111, 78, 307, 167, 74, 84, 332, 99, 291, 457, 294, 278, 368, 203, 53, 205, 359, 183, 140]

SOLUTION: [111, 78, 307, 167, 74, 84, 332, 99, 291, 294, 278, 368, 203, 53, 205, 359, 183, 140]

PROBLEM: [233, 451, 63, 323, 428, 102, 201, 347, 349, 283, 324, 49, 205, 114, 427, 459, 470, 281, 432, 328]

SOLUTION: [233, 451, 63, 323, 428, 102, 201, 347, 349, 283, 324, 205, 114, 427, 459, 281, 432, 328]

PROBLEM: [224, 134, 392, 15, 457, 450, 167, 161, 475, 99, 466, 366, 44, 273, 333, 79, 402, 246, 212, 239]

SOLUTION:
[224, 134, 392, 457, 450, 167, 161, 99, 466, 366, 44, 273, 333, 79, 402, 246, 212, 239]