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: ['H', 'x', '959', 'J', 'p', '7515', '1861', '9627', '7409', '9055', '1595', 'h', 'i', 'F', '3911', 'G', 's', '2969', '5329', '3219', 'Q', 'k', 'r', 'l', 'o', 'F', '4987', '1231', 'V', '4403', 'Q', 's', 'B']

A: H, x, J, p, h, i, F, G, s, Q, k, r, l, o, F, V, Q, s, B, 959, 7515, 1861, 9627, 7409, 9055, 1595, 3911, 2969, 5329, 3219, 4987, 1231, 4403
****
Q: ['9145', '6639', 'l', 'T', 's', 'X', '1485', '7971', 'P', '8157', 'E', '3797', 'c', '1981', 'j', 'j', '83', 's', '7441', 'J', 'z', 'q', 'n', '5063', 'U', 'D', '2213', 'c', '7307', 'C', 'x', 'K', 'W', 'K', '1671', '5895', 's', 'p', 'S']

A: l, T, s, X, P, E, c, j, j, s, J, z, q, n, U, D, c, C, x, K, W, K, s, p, S, 9145, 6639, 1485, 7971, 8157, 3797, 1981, 83, 7441, 5063, 2213, 7307, 1671, 5895
****
Q: ['D', '9057', '7193', '9925', 'J', '4075', 'k', '7397', 'g', '9807', '2593', 'a', 'G', '1825', '2105', 'f', 'v']

A:
D, J, k, g, a, G, f, v, 9057, 7193, 9925, 4075, 7397, 9807, 2593, 1825, 2105
****