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: [18, 35, 303, 342, 95, 102, 132, 331, 164, 108, 276, 381, 301, 143, 44, 74, 408, 398, 56, 256]

Output: [35, 303, 342, 95, 102, 132, 331, 164, 108, 276, 381, 301, 143, 44, 74, 398, 56, 256]


Input: Consider Input: [203, 26, 33, 336, 212, 419, 339, 463, 243, 152, 71, 202, 200, 309, 494, 150, 177, 361, 207, 209]

Output: [203, 33, 336, 212, 419, 339, 463, 243, 152, 71, 202, 200, 309, 150, 177, 361, 207, 209]


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]