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: [438, 404, 178, 314, 150, 153, 185, 169, 435, 413, 452, 42, 14, 414, 339, 29, 307, 398, 375, 137]

Output: [438, 404, 178, 314, 150, 153, 185, 169, 435, 413, 42, 414, 339, 29, 307, 398, 375, 137]


Input: Consider Input: [494, 448, 210, 304, 231, 82, 440, 268, 211, 374, 106, 324, 473, 64, 73, 175, 355, 365, 103, 467]

Output: [448, 210, 304, 231, 82, 440, 268, 211, 374, 106, 324, 473, 73, 175, 355, 365, 103, 467]


Input: Consider Input: [412, 137, 66, 38, 496, 194, 231, 357, 234, 175, 50, 103, 150, 120, 338, 362, 222, 242, 36, 164]


Output: [412, 137, 66, 38, 194, 231, 357, 234, 175, 50, 103, 150, 120, 338, 362, 222, 242, 164]