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.

[183, 191, 395, 34, 418, 148, 265, 425, 177, 257, 357, 314, 186, 97, 292, 407, 458, 420, 140, 173]
[183, 191, 395, 418, 148, 265, 425, 177, 257, 357, 314, 186, 97, 292, 407, 420, 140, 173]

[167, 73, 213, 404, 311, 152, 280, 77, 489, 452, 81, 457, 140, 221, 82, 153, 43, 425, 232, 369]
[167, 73, 213, 404, 311, 152, 280, 77, 452, 81, 457, 140, 221, 82, 153, 425, 232, 369]

[490, 149, 33, 157, 148, 135, 159, 95, 349, 36, 413, 118, 49, 266, 297, 379, 139, 384, 129, 190]

[149, 157, 148, 135, 159, 95, 349, 36, 413, 118, 49, 266, 297, 379, 139, 384, 129, 190]