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.

Ex Input:
[403, 300, 162, 435, 35, 100, 286, 145, 494, 164, 351, 110, 197, 260, 82, 46, 419, 14, 196, 147]

Ex Output:
[403, 300, 162, 435, 35, 100, 286, 145, 164, 351, 110, 197, 260, 82, 46, 419, 196, 147]

Ex Input:
[48, 111, 78, 307, 167, 74, 84, 332, 99, 291, 457, 294, 278, 368, 203, 53, 205, 359, 183, 140]

Ex Output:
[111, 78, 307, 167, 74, 84, 332, 99, 291, 294, 278, 368, 203, 53, 205, 359, 183, 140]

Ex Input:
[448, 100, 369, 389, 316, 149, 153, 193, 434, 387, 173, 217, 487, 23, 322, 417, 384, 115, 101, 401]

Ex Output:
[448, 100, 369, 389, 316, 149, 153, 193, 434, 387, 173, 217, 322, 417, 384, 115, 101, 401]