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: [438, 404, 178, 314, 150, 153, 185, 169, 435, 413, 452, 42, 14, 414, 339, 29, 307, 398, 375, 137]

A: [438, 404, 178, 314, 150, 153, 185, 169, 435, 413, 42, 414, 339, 29, 307, 398, 375, 137]
****
Q: [138, 466, 396, 427, 497, 43, 221, 440, 116, 290, 104, 371, 304, 365, 460, 36, 146, 117, 448, 148]

A: [138, 466, 396, 427, 43, 221, 440, 116, 290, 104, 371, 304, 365, 460, 146, 117, 448, 148]
****
Q: [165, 98, 83, 105, 414, 186, 452, 258, 64, 256, 47, 142, 100, 26, 305, 351, 455, 224, 481, 321]

A:
[165, 98, 83, 105, 414, 186, 452, 258, 64, 256, 47, 142, 100, 305, 351, 455, 224, 321]
****