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:
[349, 475, 128, 394, 133, 34, 155, 291, 428, 484, 19, 219, 44, 81, 132, 96, 240, 430, 326, 205]

Ex Output:
[349, 475, 128, 394, 133, 34, 155, 291, 428, 219, 44, 81, 132, 96, 240, 430, 326, 205]


Ex Input:
[148, 107, 470, 218, 40, 464, 221, 443, 295, 328, 59, 419, 248, 213, 298, 467, 135, 75, 281, 65]

Ex Output:
[148, 107, 218, 464, 221, 443, 295, 328, 59, 419, 248, 213, 298, 467, 135, 75, 281, 65]


Ex Input:
[106, 391, 309, 73, 281, 120, 59, 360, 52, 156, 217, 21, 192, 464, 394, 288, 432, 356, 349, 273]

Ex Output:

[106, 391, 309, 73, 281, 120, 59, 360, 52, 156, 217, 192, 394, 288, 432, 356, 349, 273]