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: ['A', 'J', 'H', 'r', 'q', 'N', 'B', 'W', 'B', '4775', '9463', '601', '5213', '1179', 'H', '2055', 'v', 'x', 'K', 'U', 'B', '8337', '3011', '7853', 'j', 'u', '4223']

A: A, J, H, r, q, N, B, W, B, H, v, x, K, U, B, j, u, 4775, 9463, 601, 5213, 1179, 2055, 8337, 3011, 7853, 4223
****
Q: ['h', 'l', '9515', 'h', '4089', '8129', 'G', '5803', 'K', 'F', 'w', 'b', '4627']

A:
h, l, h, G, K, F, w, b, 9515, 4089, 8129, 5803, 4627
****