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: ['P', 'Q', 'x', 'w', 'V', 't', '8231', '4737', 'X', '5065', 'g', 'P', '9205', '8849', '8455', 's', '7269', 'F', 'Q', 'H', 'z', 'u', '7399', 'N', 'P', 'x', '4579', 'i', '6997', '9409', 'M', '8047', '2861']

A: P, Q, x, w, V, t, X, g, P, s, F, Q, H, z, u, N, P, x, i, M, 8231, 4737, 5065, 9205, 8849, 8455, 7269, 7399, 4579, 6997, 9409, 8047, 2861
****
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: ['7709', 'a', 'P', 'G', '5441', '2055', '1573', '6041', 'J', 'N']

A:
a, P, G, J, N, 7709, 5441, 2055, 1573, 6041
****