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: ['8665', 'e', '1109', 'R', 'N', 'P', 'y', 'S', '6459', '8123', 'j', 'e', 'f', '1329', 'Y', '5399', 'q', '7371', 'd', '7787', '657', '391', '9143', '3321', 'Q', '2167', '2587', '8189', 'W', 'e']

A: e, R, N, P, y, S, j, e, f, Y, q, d, Q, W, e, 8665, 1109, 6459, 8123, 1329, 5399, 7371, 7787, 657, 391, 9143, 3321, 2167, 2587, 8189
****
Q: ['u', 'x', 'x', '905', '2635', 'H', '8797', '1695', '3545', 'e', '9241', '3829', '9471', 'm', '97', 'h', '5031']

A:
u, x, x, H, e, m, h, 905, 2635, 8797, 1695, 3545, 9241, 3829, 9471, 97, 5031
****