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: [349, 139, 299, 301, 361, 198, 119, 13, 225, 201, 249, 428, 271, 489, 368, 199, 46, 50, 487, 326]

Output: [349, 139, 299, 301, 361, 198, 119, 225, 201, 249, 428, 271, 368, 199, 46, 50, 487, 326]


Input: Consider Input: [278, 195, 442, 163, 419, 246, 457, 267, 228, 186, 299, 354, 294, 201, 75, 317, 71, 477, 312, 284]


Output: [278, 195, 442, 163, 419, 246, 457, 267, 228, 186, 299, 354, 294, 201, 75, 317, 312, 284]