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', 'r', '2509', 'P', '1789', 'Z', '3021', '8203', 'V', 'K', '4709', 'd', 'u', '17', 'B', '6569', 'P', '4831']
answer:
L, r, P, Z, V, K, d, u, B, P, 2509, 1789, 3021, 8203, 4709, 17, 6569, 4831


question:
['g', '1705', 'f', '7553', 'S', '8819', '9999', '3939', 'j', 'H', '1191', '6759', '8139', 'm', '8041', 'M', '4581', 'r', 'z', 'c']
answer:
g, f, S, j, H, m, M, r, z, c, 1705, 7553, 8819, 9999, 3939, 1191, 6759, 8139, 8041, 4581


question:
['1783', 'A', '8561', '4487', 'f', '1373', 'w', 'k', '8511', '9751', 'r', '6313', 'Y', 'c', 'T', '1099', 'h', '9287', 'c', '2453', '4669', 'D', '7095', '2731', 'k', '9723', 'j', '179', 'T', 'V', '2645', '6977', '8793', '1113', '5701', 'w', 'j', 'I', '8743', 'i']
answer:

A, f, w, k, r, Y, c, T, h, c, D, k, j, T, V, w, j, I, i, 1783, 8561, 4487, 1373, 8511, 9751, 6313, 1099, 9287, 2453, 4669, 7095, 2731, 9723, 179, 2645, 6977, 8793, 1113, 5701, 8743