instruction:
In this task, you are given an input list. A list contains several comma-separated items written within brackets. You need to collate all the alphabetical elements at the start of the list followed by all the numerical elements of the list. Maintain the order in which the alphabetical elements appear in the given input list, and do the same for the numerical elements.
question:
['M', 'x', '5631', '4515', '3367', 'B', 't', 'Z', '913', 'I', 'X', '591', 'Y', 'w', 'W', 'S']
answer:
M, x, B, t, Z, I, X, Y, w, W, S, 5631, 4515, 3367, 913, 591


question:
['7221', 'c', 'r', 'd', '1583', 'i', 'A', 'w', '1477', '7905', 'n', '9297', 'f', '8789', 'k', '2099']
answer:
c, r, d, i, A, w, n, f, k, 7221, 1583, 1477, 7905, 9297, 8789, 2099


question:
['M', 'C', '499', 'V', '2007', 'i', 'N', '6907', '4901', '9915', '3413', '4353', 'N', '3415', '4953', '2007', '5825', '1195', 'w', 'o', '8631']
answer:

M, C, V, i, N, N, w, o, 499, 2007, 6907, 4901, 9915, 3413, 4353, 3415, 4953, 2007, 5825, 1195, 8631