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: ['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: ['2245', 'c', 'L', 'h', 'e', 'C', 'X', 'v', 't', '4315', '3409', 'A', 'o', '7043', 'O', 'z', 'w', '4261', '1085', '4135', 'S', 'i', '2563', 'm', '8175', '5911', '8987', 'L', 'Z', '6009', '9843', '5061', '4041']

A: c, L, h, e, C, X, v, t, A, o, O, z, w, S, i, m, L, Z, 2245, 4315, 3409, 7043, 4261, 1085, 4135, 2563, 8175, 5911, 8987, 6009, 9843, 5061, 4041
****
Q: ['5257', '2939', 'R', '9091', '6191', 'F', 'h', 'i', 'k', '1681', '343', 'e', '9429', '3293', 'D', '6427', '4917', 'B', '9241', 'X', 'g', 'b', 'j', 'x', 't', '3911', 'D', 'H', '4325', '957', '2273', 's', '8197', '3021', '5795', '2977', 'r', 'p', 'c']

A:
R, F, h, i, k, e, D, B, X, g, b, j, x, t, D, H, s, r, p, c, 5257, 2939, 9091, 6191, 1681, 343, 9429, 3293, 6427, 4917, 9241, 3911, 4325, 957, 2273, 8197, 3021, 5795, 2977
****