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.

Example Input: [39, 211, 289, 232, 406, 34, 298, 47, 421, 216, 175, 234, 306, 312, 227, 374, 55, 187, 350, 63]
Example Output: [39, 211, 289, 232, 406, 298, 47, 216, 175, 234, 306, 312, 227, 374, 55, 187, 350, 63]

Example Input: [483, 178, 445, 290, 124, 218, 360, 121, 34, 127, 256, 410, 330, 432, 452, 148, 354, 85, 460, 399]
Example Output: [178, 445, 290, 124, 218, 360, 121, 127, 256, 410, 330, 432, 452, 148, 354, 85, 460, 399]

Example Input: [353, 454, 468, 12, 76, 34, 297, 401, 279, 133, 217, 338, 476, 96, 422, 233, 442, 245, 461, 368]
Example Output:
[353, 454, 468, 76, 34, 297, 401, 279, 133, 217, 338, 96, 422, 233, 442, 245, 461, 368]