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 Q]: [218, 206, 376, 271, 360, 378, 419, 249, 132, 211, 455, 181, 306, 276, 413, 125, 79, 104, 75, 163]
[EX A]: [218, 206, 376, 271, 360, 378, 419, 249, 132, 211, 181, 306, 276, 413, 125, 79, 104, 163]

[EX Q]: [308, 152, 482, 111, 406, 290, 466, 303, 153, 60, 15, 270, 398, 473, 417, 69, 499, 43, 454, 280]
[EX A]: [308, 152, 482, 111, 406, 290, 466, 303, 153, 60, 270, 398, 473, 417, 69, 43, 454, 280]

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