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: [199, 126, 455, 121, 253, 469, 302, 99, 235, 119, 488, 257, 271, 90, 132, 395, 213, 30, 55, 477]

Output: [199, 126, 455, 121, 253, 469, 302, 99, 235, 119, 257, 271, 90, 132, 395, 213, 55, 477]


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: [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]