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: ['D', 'P', '7505', 'Z', 'u', '3193', 'R', 'q', '2199', '9271', '8289', '8941', 'i', 'I', '3967', '6461', 'F', '5747', '5349', 'E', '9019', '9865', '4581', '8423', '8649', 'Q', 'o', '8085', '7383', 'i', 'a', 'T', 'S', '2559']

A: D, P, Z, u, R, q, i, I, F, E, Q, o, i, a, T, S, 7505, 3193, 2199, 9271, 8289, 8941, 3967, 6461, 5747, 5349, 9019, 9865, 4581, 8423, 8649, 8085, 7383, 2559
****
Q: ['3563', 'Q', 'P', 'j', 'n', 'K', 'b', 'r', 'p', 'X', '7461', 'X', '463', 'Z', '6397', '8971', '3181', 'h', 'Q', '1829', '9827', '9131', '521', 'H', '6573', 'U', '9255', '1155', '7637', '1429', 'G', '9513', '429']

A: Q, P, j, n, K, b, r, p, X, X, Z, h, Q, H, U, G, 3563, 7461, 463, 6397, 8971, 3181, 1829, 9827, 9131, 521, 6573, 9255, 1155, 7637, 1429, 9513, 429
****
Q: ['A', '1325', '8543', 'x', '7265', 'P', 'd', 'c', 'U', 'd', '7533', '8239', '8131', '8567', '9559', '3205', '6893', 'z', '699', 'V', 'u', '8121', '7771', 'd', 'I', '5655', '9533', '3965']

A:
A, x, P, d, c, U, d, z, V, u, d, I, 1325, 8543, 7265, 7533, 8239, 8131, 8567, 9559, 3205, 6893, 699, 8121, 7771, 5655, 9533, 3965
****