instruction:
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.
question:
[251, 295, 130, 340, 258, 247, 486, 11, 213, 462, 303, 129, 345, 440, 415, 354, 276, 298, 259, 482]
answer:
[251, 295, 130, 340, 258, 247, 213, 462, 303, 129, 345, 440, 415, 354, 276, 298, 259, 482]


question:
[30, 181, 201, 14, 208, 147, 314, 404, 381, 310, 353, 370, 300, 214, 366, 368, 308, 318, 274, 347]
answer:
[30, 181, 201, 208, 147, 314, 381, 310, 353, 370, 300, 214, 366, 368, 308, 318, 274, 347]


question:
[232, 29, 315, 409, 43, 155, 471, 68, 350, 90, 27, 368, 277, 286, 323, 452, 119, 491, 54, 455]
answer:

[232, 29, 315, 409, 43, 155, 471, 68, 350, 90, 368, 277, 286, 323, 452, 119, 54, 455]