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:
[316, 127, 149, 295, 384, 178, 487, 131, 398, 38, 255, 33, 102, 187, 107, 336, 20, 356, 45, 66]

Ex Output:
[316, 127, 149, 295, 384, 178, 131, 398, 38, 255, 33, 102, 187, 107, 336, 356, 45, 66]


Ex Input:
[343, 388, 113, 57, 169, 354, 297, 78, 456, 45, 61, 166, 221, 203, 265, 489, 304, 25, 121, 96]

Ex Output:
[343, 388, 113, 57, 169, 354, 297, 78, 456, 45, 61, 166, 221, 203, 265, 304, 121, 96]


Ex Input:
[199, 126, 455, 121, 253, 469, 302, 99, 235, 119, 488, 257, 271, 90, 132, 395, 213, 30, 55, 477]

Ex Output:

[199, 126, 455, 121, 253, 469, 302, 99, 235, 119, 257, 271, 90, 132, 395, 213, 55, 477]