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', '2329', 'X', '5229', '3403', '9495', '6639', '4575', '3763', 'B', 'O', '5117', 's', 'T', '8537', 'x', 'c', 'A', 'k', '1259', 's', 'N', 'A']

A: j, X, B, O, s, T, x, c, A, k, s, N, A, 2329, 5229, 3403, 9495, 6639, 4575, 3763, 5117, 8537, 1259
****
Q: ['8817', 'm', '1795', 'q', '2999', 'i', 'n', '5895', '6609', '901', '4099', '5973', 'M', 'j', '5867', '6035', '9425', '3401', '2677', '8939', 'v', 'y', 'S', 'X', '1411', '5595', 'm', '1871']

A: m, q, i, n, M, j, v, y, S, X, m, 8817, 1795, 2999, 5895, 6609, 901, 4099, 5973, 5867, 6035, 9425, 3401, 2677, 8939, 1411, 5595, 1871
****
Q: ['c', '4253', '1835', 'D', '805', 'j', '8811', '3901', '9033', 'x', 'z', 'Y', 'l', 'd', '3265', '191', 'G', '8881', '1991', '9391', '4683', 'K', '8659', '2369', '5111']

A:
c, D, j, x, z, Y, l, d, G, K, 4253, 1835, 805, 8811, 3901, 9033, 3265, 191, 8881, 1991, 9391, 4683, 8659, 2369, 5111
****