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: ['g', '6655', '5205', '9691', '2187', '2107', '3989', '2683', '4449', 'c', 'w', 'X', 'F', 'e', '7205', 'A', '4927', 'K', '7967', 'd', 'C', 'l', 'i', '941', 'T', '8779', 'X', 'q', 'e', '675', '2565', '8849', '4991', 'u', '7687', 'f', 'f', 'S', 'E', '2451']

A: g, c, w, X, F, e, A, K, d, C, l, i, T, X, q, e, u, f, f, S, E, 6655, 5205, 9691, 2187, 2107, 3989, 2683, 4449, 7205, 4927, 7967, 941, 8779, 675, 2565, 8849, 4991, 7687, 2451
****
Q: ['r', 'O', 'Z', 'e', '6497', 'I', '7283', 'g', '373', '4723', '4075', '8885', 'g', 'S', '8125', '9613', 'C', 'X', '6633', '1281', 'J', '6289', '1499', '8227', 't', 'A', 'l']

A: r, O, Z, e, I, g, g, S, C, X, J, t, A, l, 6497, 7283, 373, 4723, 4075, 8885, 8125, 9613, 6633, 1281, 6289, 1499, 8227
****
Q: ['7249', 'x', '7039', '5745', 'I', 'p', 'a', 'q', 'G', 'd', '4743', 'C', '9201', '3229', '7315', '2163', 'n', '7095', 'I', '175', '8383', 'r', 'c', '7447', 'y', 'd', '7785']

A:
x, I, p, a, q, G, d, C, n, I, r, c, y, d, 7249, 7039, 5745, 4743, 9201, 3229, 7315, 2163, 7095, 175, 8383, 7447, 7785
****