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: [344, 248, 53, 427, 471, 464, 408, 138, 476, 163, 191, 487, 311, 488, 406, 179, 133, 132, 335, 182]

A: [344, 248, 427, 471, 464, 408, 138, 476, 163, 191, 487, 311, 406, 179, 133, 132, 335, 182]
****
Q: [483, 178, 445, 290, 124, 218, 360, 121, 34, 127, 256, 410, 330, 432, 452, 148, 354, 85, 460, 399]

A: [178, 445, 290, 124, 218, 360, 121, 127, 256, 410, 330, 432, 452, 148, 354, 85, 460, 399]
****
Q: [149, 218, 201, 435, 351, 391, 136, 289, 16, 187, 50, 257, 276, 129, 372, 467, 285, 334, 312, 117]

A:
[149, 218, 201, 435, 351, 391, 136, 289, 187, 50, 257, 276, 129, 372, 285, 334, 312, 117]
****