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.

Ex Input:
[117, 257, 367, 375, 111, 192, 30, 413, 431, 490, 322, 443, 390, 453, 427, 310, 475, 319, 44, 86]

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


Ex Input:
[29, 288, 37, 297, 457, 314, 426, 132, 306, 163, 260, 328, 435, 56, 286, 53, 88, 18, 177, 57]

Ex Output:
[29, 288, 37, 297, 314, 426, 132, 306, 163, 260, 328, 435, 56, 286, 53, 88, 177, 57]


Ex Input:
[30, 294, 476, 39, 326, 132, 76, 359, 333, 493, 94, 12, 389, 398, 298, 57, 321, 202, 259, 310]

Ex Output:

[30, 294, 476, 39, 326, 132, 76, 359, 333, 94, 389, 398, 298, 57, 321, 202, 259, 310]