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.

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

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


Input: Consider Input: [343, 157, 391, 238, 311, 143, 397, 159, 270, 176, 301, 319, 300, 134, 154, 121, 441, 274, 489, 103]

Output: [343, 157, 391, 238, 311, 143, 397, 159, 270, 176, 301, 319, 300, 134, 154, 121, 441, 274]


Input: Consider Input: [209, 150, 39, 109, 416, 204, 492, 253, 341, 181, 294, 228, 106, 189, 441, 239, 248, 335, 486, 92]


Output: [209, 150, 109, 416, 204, 253, 341, 181, 294, 228, 106, 189, 441, 239, 248, 335, 486, 92]