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]: [69, 160, 276, 229, 273, 11, 394, 242, 103, 383, 62, 81, 457, 307, 371, 490, 303, 415, 309, 297]
[A]: [69, 160, 276, 229, 273, 394, 242, 103, 383, 62, 81, 457, 307, 371, 303, 415, 309, 297]


[Q]: [470, 86, 429, 305, 267, 424, 292, 315, 306, 17, 104, 31, 44, 80, 397, 274, 217, 230, 213, 414]
[A]: [86, 429, 305, 267, 424, 292, 315, 306, 104, 31, 44, 80, 397, 274, 217, 230, 213, 414]


[Q]: [29, 288, 37, 297, 457, 314, 426, 132, 306, 163, 260, 328, 435, 56, 286, 53, 88, 18, 177, 57]
[A]:
[29, 288, 37, 297, 314, 426, 132, 306, 163, 260, 328, 435, 56, 286, 53, 88, 177, 57]