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: [223, 362, 140, 488, 111, 384, 496, 349, 312, 482, 487, 213, 466, 480, 268, 438, 369, 247, 477, 276]

Output: [223, 362, 140, 488, 384, 349, 312, 482, 487, 213, 466, 480, 268, 438, 369, 247, 477, 276]


Input: Consider Input: [167, 73, 213, 404, 311, 152, 280, 77, 489, 452, 81, 457, 140, 221, 82, 153, 43, 425, 232, 369]

Output: [167, 73, 213, 404, 311, 152, 280, 77, 452, 81, 457, 140, 221, 82, 153, 425, 232, 369]


Input: Consider Input: [131, 176, 56, 381, 470, 198, 77, 294, 142, 202, 486, 357, 146, 337, 287, 383, 262, 298, 442, 356]


Output: [131, 176, 381, 470, 198, 77, 294, 142, 202, 357, 146, 337, 287, 383, 262, 298, 442, 356]