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: ['Z', '2429', 'V', 'a', 'a', 'C', '325', 'a', '5107', '2665', '4305', 'R', 'z', '6109', 'Y', 'W', '1261', 'r', 'H', '1563', '5811', 'z', '5627', 'k', '529', 'e', '9687', 'G', 'K', 'E', '401', '8925', '4555', '8603', '8345', '3151', '1367']

A: Z, V, a, a, C, a, R, z, Y, W, r, H, z, k, e, G, K, E, 2429, 325, 5107, 2665, 4305, 6109, 1261, 1563, 5811, 5627, 529, 9687, 401, 8925, 4555, 8603, 8345, 3151, 1367
****
Q: ['G', 'Y', 'T', '4975', 'g', 'H', '8671', '8687', '6929', 'k', '905', '4059', 'Y', '329', 'K', '3181', '6691', '3095', 'g', 'J', '9233', 'f', 'C']

A: G, Y, T, g, H, k, Y, K, g, J, f, C, 4975, 8671, 8687, 6929, 905, 4059, 329, 3181, 6691, 3095, 9233
****
Q: ['Q', '635', 'i', 'S', 'I', 'f', 'I', 'm', '8765', 'p', 'C', 'q', 'q', 'r', '7469', 'B', '6227', '7887', '4885', '6359', 'I']

A:
Q, i, S, I, f, I, m, p, C, q, q, r, B, I, 635, 8765, 7469, 6227, 7887, 4885, 6359
****