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]: [94, 29, 277, 177, 271, 480, 398, 153, 345, 441, 248, 395, 43, 233, 439, 241, 99, 238, 264, 377]
[A]: [94, 277, 177, 271, 398, 153, 345, 441, 248, 395, 43, 233, 439, 241, 99, 238, 264, 377]

[Q]: [147, 484, 440, 399, 367, 222, 372, 111, 31, 57, 322, 106, 280, 94, 44, 464, 431, 205, 422, 90]
[A]: [147, 440, 399, 367, 222, 372, 111, 57, 322, 106, 280, 94, 44, 464, 431, 205, 422, 90]

[Q]: [256, 118, 357, 263, 16, 359, 471, 241, 44, 326, 21, 282, 495, 462, 175, 313, 51, 111, 221, 88]
[A]:
[256, 118, 357, 263, 359, 471, 241, 44, 326, 21, 282, 462, 175, 313, 51, 111, 221, 88]