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.

Input: Consider Input: [90, 238, 46, 361, 360, 194, 149, 237, 376, 111, 408, 435, 441, 429, 421, 374, 18, 100, 424, 343]

Output: [90, 238, 46, 361, 360, 194, 149, 237, 376, 111, 408, 435, 429, 421, 374, 100, 424, 343]


Input: Consider Input: [404, 426, 303, 243, 105, 476, 238, 120, 25, 64, 152, 285, 111, 75, 312, 368, 379, 143, 438, 195]

Output: [404, 426, 303, 243, 105, 238, 120, 64, 152, 285, 111, 75, 312, 368, 379, 143, 438, 195]


Input: Consider Input: [494, 358, 167, 490, 485, 377, 195, 352, 259, 495, 355, 29, 329, 463, 41, 493, 115, 162, 245, 379]


Output: [494, 358, 167, 490, 485, 377, 195, 352, 259, 355, 329, 463, 41, 493, 115, 162, 245, 379]