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: ['7171', 'N', '463', 'w', 'd', 'T', '7361', 'C', 'n', 'Y', 'x', '5805', 'K', '9973', 'X', '6789', '2683', 'p', 'X', 's', '3335', 'N', 'c', '4319', '6047', 'r', '4847', '3493', '2195', 'e', 'G', 'G', 'k', 'w', '4969', 'g']

A: N, w, d, T, C, n, Y, x, K, X, p, X, s, N, c, r, e, G, G, k, w, g, 7171, 463, 7361, 5805, 9973, 6789, 2683, 3335, 4319, 6047, 4847, 3493, 2195, 4969
****
Q: ['2253', 'm', '2085', '2969', 'L', '1193', 't', '8093', '8835', '4643', 'u', '837', 'z', 'b', 'g', '8955', 'n', '9911', '3653', '105', 'S', 'o', '3381', '1837', 'Z', 'm', 'q', 'j', '8727', 'U', '5675', '5587', '8635', 'E', '1873', 'L', '7237']

A: m, L, t, u, z, b, g, n, S, o, Z, m, q, j, U, E, L, 2253, 2085, 2969, 1193, 8093, 8835, 4643, 837, 8955, 9911, 3653, 105, 3381, 1837, 8727, 5675, 5587, 8635, 1873, 7237
****
Q: ['Z', 'C', 'O', 'o', 'B', 'M', 'O', 'K', '8919', '5311', '1497', '2743', '7455', 's', '3169', '4695', 'j', '4685', 'q', '7705', 'D', 'j', 'K', '569', 's', '1823', 'r', 'B', '9017', 'd', 'b', 'C', '201', '4255', 'e', '9737']

A:
Z, C, O, o, B, M, O, K, s, j, q, D, j, K, s, r, B, d, b, C, e, 8919, 5311, 1497, 2743, 7455, 3169, 4695, 4685, 7705, 569, 1823, 9017, 201, 4255, 9737
****