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: [308, 152, 482, 111, 406, 290, 466, 303, 153, 60, 15, 270, 398, 473, 417, 69, 499, 43, 454, 280]

Output: [308, 152, 482, 111, 406, 290, 466, 303, 153, 60, 270, 398, 473, 417, 69, 43, 454, 280]


Input: Consider Input: [324, 432, 172, 445, 78, 405, 194, 10, 220, 436, 461, 448, 42, 166, 496, 450, 478, 474, 175, 27]

Output: [324, 432, 172, 445, 78, 405, 194, 220, 436, 461, 448, 42, 166, 450, 478, 474, 175, 27]


Input: Consider Input: [435, 478, 351, 125, 187, 467, 142, 162, 302, 465, 348, 67, 145, 25, 32, 339, 191, 193, 416, 362]


Output: [435, 351, 125, 187, 467, 142, 162, 302, 465, 348, 67, 145, 32, 339, 191, 193, 416, 362]