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: [138, 466, 396, 427, 497, 43, 221, 440, 116, 290, 104, 371, 304, 365, 460, 36, 146, 117, 448, 148]
Example Output: [138, 466, 396, 427, 43, 221, 440, 116, 290, 104, 371, 304, 365, 460, 146, 117, 448, 148]

Example Input: [69, 56, 112, 338, 121, 75, 108, 327, 432, 190, 463, 88, 431, 344, 236, 478, 441, 485, 453, 460]
Example Output: [69, 112, 338, 121, 75, 108, 327, 432, 190, 463, 88, 431, 344, 236, 478, 441, 453, 460]

Example Input: [69, 160, 276, 229, 273, 11, 394, 242, 103, 383, 62, 81, 457, 307, 371, 490, 303, 415, 309, 297]
Example Output:
[69, 160, 276, 229, 273, 394, 242, 103, 383, 62, 81, 457, 307, 371, 303, 415, 309, 297]