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.

[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]

[300, 448, 242, 57, 113, 272, 222, 94, 29, 321, 174, 312, 446, 15, 362, 250, 260, 325, 322, 145]
[300, 242, 57, 113, 272, 222, 94, 29, 321, 174, 312, 446, 362, 250, 260, 325, 322, 145]

[284, 192, 241, 120, 272, 56, 301, 437, 201, 125, 65, 433, 424, 259, 174, 269, 52, 44, 418, 97]

[284, 192, 241, 120, 272, 56, 301, 201, 125, 65, 433, 424, 259, 174, 269, 52, 418, 97]