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]: [291, 400, 38, 256, 388, 474, 312, 222, 189, 175, 75, 174, 37, 342, 194, 79, 32, 117, 226, 473]
[EX A]: [291, 400, 38, 256, 388, 312, 222, 189, 175, 75, 174, 37, 342, 194, 79, 117, 226, 473]

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

[EX Q]: [404, 426, 303, 243, 105, 476, 238, 120, 25, 64, 152, 285, 111, 75, 312, 368, 379, 143, 438, 195]
[EX A]:
[404, 426, 303, 243, 105, 238, 120, 64, 152, 285, 111, 75, 312, 368, 379, 143, 438, 195]