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: [224, 134, 392, 15, 457, 450, 167, 161, 475, 99, 466, 366, 44, 273, 333, 79, 402, 246, 212, 239]

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


Input: Consider Input: [429, 421, 445, 366, 393, 324, 384, 463, 440, 487, 477, 80, 352, 434, 425, 330, 442, 321, 369, 259]

Output: [429, 421, 445, 366, 393, 324, 384, 463, 440, 477, 352, 434, 425, 330, 442, 321, 369, 259]


Input: Consider Input: [263, 51, 349, 480, 330, 377, 135, 386, 264, 155, 404, 454, 237, 375, 496, 362, 441, 63, 378, 331]


Output: [263, 349, 480, 330, 377, 135, 386, 264, 155, 404, 454, 237, 375, 362, 441, 63, 378, 331]