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:
[232, 29, 315, 409, 43, 155, 471, 68, 350, 90, 27, 368, 277, 286, 323, 452, 119, 491, 54, 455]

Ex Output:
[232, 29, 315, 409, 43, 155, 471, 68, 350, 90, 368, 277, 286, 323, 452, 119, 54, 455]


Ex Input:
[262, 298, 392, 201, 182, 290, 259, 206, 97, 108, 156, 426, 363, 293, 493, 334, 264, 151, 463, 76]

Ex Output:
[262, 298, 392, 201, 182, 290, 259, 206, 97, 108, 156, 426, 363, 293, 334, 264, 151, 463]


Ex Input:
[82, 73, 183, 224, 442, 470, 301, 219, 460, 260, 12, 245, 451, 136, 140, 286, 485, 18, 491, 186]

Ex Output:

[82, 73, 183, 224, 442, 470, 301, 219, 460, 260, 245, 451, 136, 140, 286, 485, 18, 186]