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: ['3523', 'W', '5715', '7517', 'q', '6405', '365', 'j', 'D', '983', 'P', 'D', 'X', 'A', 'v', 'a', '5091', 't', '7277', 'E', 'i', '2059', '4403', '1345', 'u', 'Y', '4341', '61', 'I', 'O']

A: W, q, j, D, P, D, X, A, v, a, t, E, i, u, Y, I, O, 3523, 5715, 7517, 6405, 365, 983, 5091, 7277, 2059, 4403, 1345, 4341, 61
****
Q: ['9175', 'k', '2827', 'z', '9377', 'g', 'z', 'I', 'U', 'D', '8353', 'p', 'b', 'C', '9151', '4657', 'p', 'z', '7771', 'D', 'U', 'q', 'f', 'R', 'M', '5491', '5043', '4249', 'l', '3871']

A: k, z, g, z, I, U, D, p, b, C, p, z, D, U, q, f, R, M, l, 9175, 2827, 9377, 8353, 9151, 4657, 7771, 5491, 5043, 4249, 3871
****
Q: ['x', 'O', '379', 'S', '441', 'Z', 'U', '817', 'g', 'n', 'T', '4383', '5959', 'h', '8251', '4721', 'V', 'g', '9805', '9555', 'D', '1093', 's', '2693', '3487', 'h', '9673', '8771', '5901', '1671', 'g']

A:
x, O, S, Z, U, g, n, T, h, V, g, D, s, h, g, 379, 441, 817, 4383, 5959, 8251, 4721, 9805, 9555, 1093, 2693, 3487, 9673, 8771, 5901, 1671
****