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: [182, 423, 307, 180, 23, 237, 204, 485, 58, 304, 401, 263, 122, 27, 325, 223, 59, 228, 479, 384]

Output: [182, 423, 307, 180, 237, 204, 58, 304, 401, 263, 122, 27, 325, 223, 59, 228, 479, 384]


Input: Consider Input: [19, 50, 261, 131, 14, 321, 442, 132, 176, 403, 185, 382, 290, 279, 164, 18, 485, 54, 325, 438]

Output: [19, 50, 261, 131, 321, 442, 132, 176, 403, 185, 382, 290, 279, 164, 18, 54, 325, 438]


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]