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.

Q: ['j', 'E', '4677', 'V', 'F', '5887', 'q', 'S', 'j', 'q', '1381', '9847', 'z', 'o', '7363', 't', '2335', 'i', 'H', 'e', '6693', 'f', 'S', 'Y', '4875', '4535', 'Y']

A: j, E, V, F, q, S, j, q, z, o, t, i, H, e, f, S, Y, Y, 4677, 5887, 1381, 9847, 7363, 2335, 6693, 4875, 4535
****
Q: ['n', '5329', '7635', 'D', 'D', 'Y', '3097', 'Q', 'S', 'e', '4525', '5485', '6717', 'q', '7315', 'X', '8971', 'd', 'M', '407', '4931', 'o', '139']

A: n, D, D, Y, Q, S, e, q, X, d, M, o, 5329, 7635, 3097, 4525, 5485, 6717, 7315, 8971, 407, 4931, 139
****
Q: ['i', '5161', '289', '1005', '3739', '1907', '563', 'x', 'F', 'e', 'z', '9287', '8437', 'i', '2273', '3515', '6023', '4429', 'T', '2429', '3841', 'l', 'b', '5965', 'w', '3451', '7645', 'S', 'y', 'F', '8425', '1301', 'V', '5133', 'V', 'z']

A:
i, x, F, e, z, i, T, l, b, w, S, y, F, V, V, z, 5161, 289, 1005, 3739, 1907, 563, 9287, 8437, 2273, 3515, 6023, 4429, 2429, 3841, 5965, 3451, 7645, 8425, 1301, 5133
****