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: ['d', '8007', 'V', '7487', '7099', 'l', '8195', 'G', 'O', '3011', 'Z', '6165', '1463', '7793', '3221', '6903', '4809', '7761', 'Z', '3361', 'q', '5571', 'w', 'K', 'C', '7351', 'A', 'V', '2339', 'h', '2549', 'u', 's', 'r', 'k', 'm', 'q', '6689', '2317']

A: d, V, l, G, O, Z, Z, q, w, K, C, A, V, h, u, s, r, k, m, q, 8007, 7487, 7099, 8195, 3011, 6165, 1463, 7793, 3221, 6903, 4809, 7761, 3361, 5571, 7351, 2339, 2549, 6689, 2317
****
Q: ['Z', '6277', '2029', 'w', '6679', '9161', 'P', 'N', 'v']

A: Z, w, P, N, v, 6277, 2029, 6679, 9161
****
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
****