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


Ex Input:
[349, 139, 299, 301, 361, 198, 119, 13, 225, 201, 249, 428, 271, 489, 368, 199, 46, 50, 487, 326]

Ex Output:
[349, 139, 299, 301, 361, 198, 119, 225, 201, 249, 428, 271, 368, 199, 46, 50, 487, 326]


Ex Input:
[409, 431, 47, 252, 397, 205, 428, 147, 165, 446, 173, 203, 241, 360, 49, 346, 282, 27, 14, 192]

Ex Output:

[409, 431, 47, 252, 397, 205, 428, 147, 165, 173, 203, 241, 360, 49, 346, 282, 27, 192]