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:
['D', '8577', '7971', 'x', 'm', '8323', 'T', '5257', '3341', '3963', '7895', '1465', '1987', '9909', 'o', '245']
answer:
D, x, m, T, o, 8577, 7971, 8323, 5257, 3341, 3963, 7895, 1465, 1987, 9909, 245

question:
['O', 'f', 'C', '601', 'S', 'O', 'H', '6763', '1945', 'k', '3451', '4775', 'K', 'h', 'd', 'v', 'E', '7603', '5475', 'M', 'R', '2393', 'l', '3829', '9391', '2301', '9921']
answer:
O, f, C, S, O, H, k, K, h, d, v, E, M, R, l, 601, 6763, 1945, 3451, 4775, 7603, 5475, 2393, 3829, 9391, 2301, 9921

question:
['S', '8365', 'C', '9185', 'd', 'Z', 'R', '2537', 'r', '5021', '7251', '8567', '4061', '3311', '6439', '5359', 'x', '9931', '87', '2169', '9021', '195', 'N', 'o', 'K', '747', 'h', '6187', 'x', 'n', 'p', '1219', 'P', '4661', 'c', 'm', '5775', 'u', '5929', 'G']
answer:
S, C, d, Z, R, r, x, N, o, K, h, x, n, p, P, c, m, u, G, 8365, 9185, 2537, 5021, 7251, 8567, 4061, 3311, 6439, 5359, 9931, 87, 2169, 9021, 195, 747, 6187, 1219, 4661, 5775, 5929