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]: [262, 298, 392, 201, 182, 290, 259, 206, 97, 108, 156, 426, 363, 293, 493, 334, 264, 151, 463, 76]
[EX A]: [262, 298, 392, 201, 182, 290, 259, 206, 97, 108, 156, 426, 363, 293, 334, 264, 151, 463]

[EX Q]: [15, 147, 431, 30, 323, 141, 119, 248, 89, 335, 255, 352, 440, 38, 175, 69, 283, 315, 10, 403]
[EX A]: [15, 147, 431, 30, 323, 141, 119, 248, 89, 335, 255, 352, 38, 175, 69, 283, 315, 403]

[EX Q]: [262, 298, 392, 201, 182, 290, 259, 206, 97, 108, 156, 426, 363, 293, 493, 334, 264, 151, 463, 76]
[EX A]:
[262, 298, 392, 201, 182, 290, 259, 206, 97, 108, 156, 426, 363, 293, 334, 264, 151, 463]