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: [48, 111, 78, 307, 167, 74, 84, 332, 99, 291, 457, 294, 278, 368, 203, 53, 205, 359, 183, 140]

Output: [111, 78, 307, 167, 74, 84, 332, 99, 291, 294, 278, 368, 203, 53, 205, 359, 183, 140]


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: [488, 258, 281, 422, 297, 175, 22, 290, 11, 178, 124, 161, 354, 191, 70, 334, 480, 153, 251, 371]


Output: [258, 281, 422, 297, 175, 22, 290, 178, 124, 161, 354, 191, 70, 334, 480, 153, 251, 371]