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:
['L', 'w', 'n']
answer:
L, w, n


question:
['D', 'r', '4449', 'Z', '5365', '1', 'O', 'S', 'A', '9963', '3923', '7051', '8531', '2529', 'E', '1319', '6455', '593', 'N', 'M', 'O']
answer:
D, r, Z, O, S, A, E, N, M, O, 4449, 5365, 1, 9963, 3923, 7051, 8531, 2529, 1319, 6455, 593


question:
['8817', 'm', '1795', 'q', '2999', 'i', 'n', '5895', '6609', '901', '4099', '5973', 'M', 'j', '5867', '6035', '9425', '3401', '2677', '8939', 'v', 'y', 'S', 'X', '1411', '5595', 'm', '1871']
answer:

m, q, i, n, M, j, v, y, S, X, m, 8817, 1795, 2999, 5895, 6609, 901, 4099, 5973, 5867, 6035, 9425, 3401, 2677, 8939, 1411, 5595, 1871