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:
['s', 'R', '5665', 'm', '2001', 'h', '2117', 'X', '453', 'S', '5799', '911', '7823', 'v', 'Z', '7171', 'l', 'p', '6701', 't', 'a', 'Y', '873', '2811', 'Y', '9533', '4317', 'Q', 'N', '2099', 'R', 'U', 'e', 'L', '9503', 'n', 'w', '7289', '1289']
answer:
s, R, m, h, X, S, v, Z, l, p, t, a, Y, Y, Q, N, R, U, e, L, n, w, 5665, 2001, 2117, 453, 5799, 911, 7823, 7171, 6701, 873, 2811, 9533, 4317, 2099, 9503, 7289, 1289

question:
['n', '5329', '7635', 'D', 'D', 'Y', '3097', 'Q', 'S', 'e', '4525', '5485', '6717', 'q', '7315', 'X', '8971', 'd', 'M', '407', '4931', 'o', '139']
answer:
n, D, D, Y, Q, S, e, q, X, d, M, o, 5329, 7635, 3097, 4525, 5485, 6717, 7315, 8971, 407, 4931, 139

question:
['y', 'B', 'Q', '6231', '5869', '4913', '4927', '7833', 'W', '4415', 'Q', 'X', '1469', 'G', '3749', '1391', 'k', '5609', '9153', '9419', 'Z', 'B', '5949', '4639']
answer:
y, B, Q, W, Q, X, G, k, Z, B, 6231, 5869, 4913, 4927, 7833, 4415, 1469, 3749, 1391, 5609, 9153, 9419, 5949, 4639