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: [202, 146, 317, 415, 248, 59, 57, 103, 54, 402, 424, 133, 195, 130, 482, 194, 361, 79, 41, 34]

A: [202, 146, 317, 415, 248, 59, 57, 103, 54, 402, 424, 133, 195, 130, 194, 361, 79, 41]
****
Q: [371, 203, 62, 254, 333, 465, 131, 119, 438, 209, 29, 475, 356, 414, 331, 473, 237, 132, 179, 400]

A: [371, 203, 62, 254, 333, 465, 131, 119, 438, 209, 356, 414, 331, 473, 237, 132, 179, 400]
****
Q: [349, 139, 299, 301, 361, 198, 119, 13, 225, 201, 249, 428, 271, 489, 368, 199, 46, 50, 487, 326]

A:
[349, 139, 299, 301, 361, 198, 119, 225, 201, 249, 428, 271, 368, 199, 46, 50, 487, 326]
****