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', 'D', '199', '8721', '9133', 'b', 'i', '4041', 'l', '2799', '5949', '2191', '7095', '4573', 'h', '1561', 'k', 'J', 'a', 'O', '5877', '5109', 'X', '2253', '4381', 'S', '3609', '4219', 'Y', 'L', '9165', '1911', '861', '8627']
[A]: P, D, b, i, l, h, k, J, a, O, X, S, Y, L, 199, 8721, 9133, 4041, 2799, 5949, 2191, 7095, 4573, 1561, 5877, 5109, 2253, 4381, 3609, 4219, 9165, 1911, 861, 8627


[Q]: ['5115', '8571', 'v', '1681', '1523', 'X', 'L', '1295', '1543', '3873', 'O', '4525', '9563', 'y', 'Z', '1841', 'F', 'H', '1433', 'x', 'v', 'X', 'r', '785', 'y', 'M', 'v', '9625', '9009']
[A]: v, X, L, O, y, Z, F, H, x, v, X, r, y, M, v, 5115, 8571, 1681, 1523, 1295, 1543, 3873, 4525, 9563, 1841, 1433, 785, 9625, 9009


[Q]: ['6401', 'M', 'v', 'c', '9779', 'B', '3315', '1887', '1779', '7007', 'g', '8219', 'l', 'O', '8187', '3475', '9367', 'e']
[A]:
M, v, c, B, g, l, O, e, 6401, 9779, 3315, 1887, 1779, 7007, 8219, 8187, 3475, 9367