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: [494, 448, 210, 304, 231, 82, 440, 268, 211, 374, 106, 324, 473, 64, 73, 175, 355, 365, 103, 467]

A: [448, 210, 304, 231, 82, 440, 268, 211, 374, 106, 324, 473, 73, 175, 355, 365, 103, 467]
****
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]
****
Q: [465, 202, 316, 315, 113, 470, 381, 181, 422, 313, 187, 464, 304, 347, 234, 62, 287, 199, 416, 469]

A:
[465, 202, 316, 315, 113, 381, 181, 422, 313, 187, 464, 304, 347, 234, 287, 199, 416, 469]
****