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:
[153, 244, 437, 320, 177, 10, 486, 192, 239, 216, 12, 114, 37, 72, 266, 419, 273, 333, 140, 94]

Ex Output:
[153, 244, 437, 320, 177, 192, 239, 216, 12, 114, 37, 72, 266, 419, 273, 333, 140, 94]


Ex Input:
[383, 259, 183, 294, 144, 28, 497, 348, 479, 41, 488, 376, 399, 150, 486, 334, 33, 220, 21, 366]

Ex Output:
[383, 259, 183, 294, 144, 28, 348, 479, 41, 488, 376, 399, 150, 486, 334, 33, 220, 366]


Ex Input:
[126, 447, 140, 260, 448, 212, 414, 458, 116, 161, 432, 385, 74, 31, 13, 229, 300, 30, 322, 26]

Ex Output:

[126, 447, 140, 260, 448, 212, 414, 116, 161, 432, 385, 74, 31, 229, 300, 30, 322, 26]