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: ['7361', 'H', 'd', '1811', '8801', 'D', '245', 'i', 'q', '4507', '3811', '4643', '5653', '5799', 'A', 'Q', 'X', 'i', '1595', 'U', 'X', 'z', 'X', '3265', 'O', 'j', 'n', '573', 'A', 'J', '769', '5933', 's', 'I', '9749']

A: H, d, D, i, q, A, Q, X, i, U, X, z, X, O, j, n, A, J, s, I, 7361, 1811, 8801, 245, 4507, 3811, 4643, 5653, 5799, 1595, 3265, 573, 769, 5933, 9749
****
Q: ['7643', '1863', 'D', '2397', 'Y', 'A', 'd', '8747', 'D', 'O', '7995', '8713', '2757', '3379', '5481', '3891', '6383', '8981', 'N', '2679', 'O', '5435', '5619', 'g', '4561', 'm', 'T', '2791', 'Q', '2441', '1601', 'K', '5897', '7117', '4835']

A: D, Y, A, d, D, O, N, O, g, m, T, Q, K, 7643, 1863, 2397, 8747, 7995, 8713, 2757, 3379, 5481, 3891, 6383, 8981, 2679, 5435, 5619, 4561, 2791, 2441, 1601, 5897, 7117, 4835
****
Q: ['3335', '1141', 'L', '5811', '9989', '1395', '5207', 'c', 'y', '2905', '1151', 'F', '1609', 'Y', '485', '8225', '2243', '1065', 'K', '5585', '2263', 'h', 'V', 'e', '7761', 'x', '3735', '1575', '4377', 'E', 'o', 'z', '159', 'H', 'N', '1307', 'W', 'W', 'w']

A:
L, c, y, F, Y, K, h, V, e, x, E, o, z, H, N, W, W, w, 3335, 1141, 5811, 9989, 1395, 5207, 2905, 1151, 1609, 485, 8225, 2243, 1065, 5585, 2263, 7761, 3735, 1575, 4377, 159, 1307
****