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: [156, 423, 473, 440, 222, 445, 489, 74, 196, 326, 390, 99, 197, 314, 66, 404, 341, 433, 308, 134]

Output: [156, 423, 473, 440, 222, 445, 74, 196, 326, 390, 99, 197, 314, 404, 341, 433, 308, 134]


Input: Consider Input: [351, 275, 373, 100, 165, 48, 325, 485, 431, 331, 441, 497, 42, 243, 453, 291, 183, 449, 88, 427]

Output: [351, 275, 373, 100, 165, 48, 325, 485, 431, 331, 441, 243, 453, 291, 183, 449, 88, 427]


Input: Consider Input: [106, 308, 72, 100, 466, 118, 376, 220, 461, 104, 290, 146, 332, 160, 407, 232, 382, 143, 292, 94]


Output: [106, 308, 100, 118, 376, 220, 461, 104, 290, 146, 332, 160, 407, 232, 382, 143, 292, 94]