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:
['f', 'F', '465', '9861', '9337', 'M', '589', 'L', 'N', 'g', 'A', '1475', '829', '4943', 'V']
answer:
f, F, M, L, N, g, A, V, 465, 9861, 9337, 589, 1475, 829, 4943


question:
['3563', 'Q', 'P', 'j', 'n', 'K', 'b', 'r', 'p', 'X', '7461', 'X', '463', 'Z', '6397', '8971', '3181', 'h', 'Q', '1829', '9827', '9131', '521', 'H', '6573', 'U', '9255', '1155', '7637', '1429', 'G', '9513', '429']
answer:
Q, P, j, n, K, b, r, p, X, X, Z, h, Q, H, U, G, 3563, 7461, 463, 6397, 8971, 3181, 1829, 9827, 9131, 521, 6573, 9255, 1155, 7637, 1429, 9513, 429


question:
['Q', '3531', 'Q', '291']
answer:

Q, Q, 3531, 291