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.

Example Input: [195, 169, 365, 375, 398, 103, 294, 340, 224, 284, 82, 72, 125, 113, 246, 412, 343, 68, 66, 463]
Example Output: [195, 169, 365, 375, 398, 103, 294, 340, 224, 284, 82, 72, 125, 113, 246, 412, 343, 68]

Example Input: [313, 255, 220, 275, 326, 416, 386, 224, 18, 104, 82, 279, 138, 37, 314, 391, 250, 171, 467, 215]
Example Output: [313, 255, 220, 275, 326, 416, 386, 224, 104, 82, 279, 138, 37, 314, 391, 250, 171, 215]

Example Input: [498, 134, 471, 453, 333, 255, 40, 94, 230, 241, 116, 28, 109, 310, 375, 478, 160, 198, 420, 45]
Example Output:
[134, 471, 453, 333, 255, 40, 94, 230, 241, 116, 109, 310, 375, 478, 160, 198, 420, 45]