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: [178, 29, 395, 138, 410, 194, 82, 406, 211, 99, 220, 498, 330, 103, 45, 285, 264, 281, 430, 195]

Output: [178, 395, 138, 410, 194, 82, 406, 211, 99, 220, 330, 103, 45, 285, 264, 281, 430, 195]


Input: Consider Input: [138, 466, 396, 427, 497, 43, 221, 440, 116, 290, 104, 371, 304, 365, 460, 36, 146, 117, 448, 148]

Output: [138, 466, 396, 427, 43, 221, 440, 116, 290, 104, 371, 304, 365, 460, 146, 117, 448, 148]


Input: Consider Input: [392, 241, 376, 353, 118, 439, 277, 155, 64, 88, 429, 291, 144, 86, 383, 486, 487, 276, 420, 243]


Output: [392, 241, 376, 353, 118, 439, 277, 155, 88, 429, 291, 144, 86, 383, 486, 276, 420, 243]