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:
[64, 257, 233, 185, 463, 260, 98, 60, 220, 63, 103, 234, 330, 333, 262, 213, 264, 106, 336, 338]

Ex Output:
[64, 257, 233, 185, 260, 98, 220, 63, 103, 234, 330, 333, 262, 213, 264, 106, 336, 338]


Ex Input:
[226, 166, 67, 285, 388, 31, 172, 184, 220, 299, 98, 165, 449, 41, 99, 248, 126, 182, 434, 490]

Ex Output:
[226, 166, 67, 285, 388, 172, 184, 220, 299, 98, 165, 449, 41, 99, 248, 126, 182, 434]


Ex Input:
[178, 29, 395, 138, 410, 194, 82, 406, 211, 99, 220, 498, 330, 103, 45, 285, 264, 281, 430, 195]

Ex Output:

[178, 395, 138, 410, 194, 82, 406, 211, 99, 220, 330, 103, 45, 285, 264, 281, 430, 195]