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: [278, 195, 442, 163, 419, 246, 457, 267, 228, 186, 299, 354, 294, 201, 75, 317, 71, 477, 312, 284]

A: [278, 195, 442, 163, 419, 246, 457, 267, 228, 186, 299, 354, 294, 201, 75, 317, 312, 284]
****
Q: [94, 29, 277, 177, 271, 480, 398, 153, 345, 441, 248, 395, 43, 233, 439, 241, 99, 238, 264, 377]

A: [94, 277, 177, 271, 398, 153, 345, 441, 248, 395, 43, 233, 439, 241, 99, 238, 264, 377]
****
Q: [117, 257, 367, 375, 111, 192, 30, 413, 431, 490, 322, 443, 390, 453, 427, 310, 475, 319, 44, 86]

A:
[117, 257, 367, 375, 111, 192, 413, 431, 322, 443, 390, 453, 427, 310, 475, 319, 44, 86]
****