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.

[Q]: [349, 475, 128, 394, 133, 34, 155, 291, 428, 484, 19, 219, 44, 81, 132, 96, 240, 430, 326, 205]
[A]: [349, 475, 128, 394, 133, 34, 155, 291, 428, 219, 44, 81, 132, 96, 240, 430, 326, 205]


[Q]: [457, 262, 376, 334, 154, 93, 187, 296, 383, 136, 454, 98, 72, 13, 314, 496, 364, 11, 181, 287]
[A]: [457, 262, 376, 334, 154, 93, 187, 296, 383, 136, 454, 98, 72, 13, 314, 364, 181, 287]


[Q]: [140, 259, 99, 233, 295, 254, 411, 426, 93, 483, 24, 355, 11, 404, 496, 314, 79, 21, 58, 246]
[A]:
[140, 259, 99, 233, 295, 254, 411, 426, 93, 483, 24, 355, 404, 314, 79, 21, 58, 246]