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


Input: Consider Input: [148, 89, 290, 291, 220, 466, 178, 40, 425, 386, 174, 151, 60, 224, 378, 314, 234, 357, 27, 193]


Output: [148, 89, 290, 291, 220, 178, 40, 425, 386, 174, 151, 60, 224, 378, 314, 234, 357, 193]