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: [283, 108, 28, 75, 152, 342, 390, 468, 423, 402, 265, 397, 163, 332, 320, 454, 192, 437, 121, 364]
Example Output: [283, 108, 75, 152, 342, 390, 423, 402, 265, 397, 163, 332, 320, 454, 192, 437, 121, 364]

Example Input: [358, 412, 408, 190, 313, 427, 238, 259, 199, 119, 367, 272, 101, 277, 287, 137, 250, 413, 75, 302]
Example Output: [358, 412, 408, 190, 313, 238, 259, 199, 119, 367, 272, 101, 277, 287, 137, 250, 413, 302]

Example Input: [203, 26, 33, 336, 212, 419, 339, 463, 243, 152, 71, 202, 200, 309, 494, 150, 177, 361, 207, 209]
Example Output:
[203, 33, 336, 212, 419, 339, 463, 243, 152, 71, 202, 200, 309, 150, 177, 361, 207, 209]