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:
[251, 295, 130, 340, 258, 247, 486, 11, 213, 462, 303, 129, 345, 440, 415, 354, 276, 298, 259, 482]

Ex Output:
[251, 295, 130, 340, 258, 247, 213, 462, 303, 129, 345, 440, 415, 354, 276, 298, 259, 482]


Ex Input:
[371, 203, 62, 254, 333, 465, 131, 119, 438, 209, 29, 475, 356, 414, 331, 473, 237, 132, 179, 400]

Ex Output:
[371, 203, 62, 254, 333, 465, 131, 119, 438, 209, 356, 414, 331, 473, 237, 132, 179, 400]


Ex Input:
[94, 29, 277, 177, 271, 480, 398, 153, 345, 441, 248, 395, 43, 233, 439, 241, 99, 238, 264, 377]

Ex Output:

[94, 277, 177, 271, 398, 153, 345, 441, 248, 395, 43, 233, 439, 241, 99, 238, 264, 377]