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: ['9829', '5959', '1309', 'p', 'e', '4643', '5113', 'Z', '8103', 'f', 'p', 'B', 'D', '5305', 'U', '1867', 'r', 'K', '5249', 'w', 'Z', 'y', 'O', 'b', 'F', '9713', 'F', 'Z', 'l', '4163', '7839', '9779', '4343', 'A']

A: p, e, Z, f, p, B, D, U, r, K, w, Z, y, O, b, F, F, Z, l, A, 9829, 5959, 1309, 4643, 5113, 8103, 5305, 1867, 5249, 9713, 4163, 7839, 9779, 4343
****
Q: ['S', 'n', 'w', 'M', '3629', '1381', 'l', '7203', '1505', '5217', 'F', '5557', '3421', '7659', 'W', 'k', 't', 'K', 'W', 'q', '4039', 'b', 't', 'd', '5415', 'F', 't', 'u', 'W', 'j', '6425', 'Y']

A: S, n, w, M, l, F, W, k, t, K, W, q, b, t, d, F, t, u, W, j, Y, 3629, 1381, 7203, 1505, 5217, 5557, 3421, 7659, 4039, 5415, 6425
****
Q: ['f', '133', 'N', '1425', '1097', '5037', '4361', 'n', 'K', '8613', '5689', '5501', '8643', 'k']

A:
f, N, n, K, k, 133, 1425, 1097, 5037, 4361, 8613, 5689, 5501, 8643
****