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:
[203, 26, 33, 336, 212, 419, 339, 463, 243, 152, 71, 202, 200, 309, 494, 150, 177, 361, 207, 209]

Ex Output:
[203, 33, 336, 212, 419, 339, 463, 243, 152, 71, 202, 200, 309, 150, 177, 361, 207, 209]


Ex Input:
[140, 259, 99, 233, 295, 254, 411, 426, 93, 483, 24, 355, 11, 404, 496, 314, 79, 21, 58, 246]

Ex Output:
[140, 259, 99, 233, 295, 254, 411, 426, 93, 483, 24, 355, 404, 314, 79, 21, 58, 246]


Ex Input:
[474, 127, 371, 252, 472, 257, 150, 361, 121, 230, 313, 392, 157, 67, 143, 336, 408, 211, 29, 140]

Ex Output:

[127, 371, 252, 472, 257, 150, 361, 121, 230, 313, 392, 157, 67, 143, 336, 408, 211, 140]