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]: ['8927', '4495', 'H', '5399', 'K', 'i', '877', 'n', 'Y', '3979', '3817', 'm', 'i', 'u', 'j', 'X', '1849', '9491', '7567', 'P', 'L', 'B', '4095', '3985', '9199', '1137', '9221', '5751', 'r', 'r', '5223', '5441', '5837', '5569', '7149', 'A', 'n']
[A]: H, K, i, n, Y, m, i, u, j, X, P, L, B, r, r, A, n, 8927, 4495, 5399, 877, 3979, 3817, 1849, 9491, 7567, 4095, 3985, 9199, 1137, 9221, 5751, 5223, 5441, 5837, 5569, 7149


[Q]: ['X', '9205', '9147']
[A]: X, 9205, 9147


[Q]: ['p', '7361', '3791', '6401', 's', '9173', '6467', 'i', 'X', '1167', 'v', '3045', 'x', 'w', '1203', '2625', 'Z', 'e', 'x', '8083', 'F', 'Q', 'D', 'a', '6657', 'Q']
[A]:
p, s, i, X, v, x, w, Z, e, x, F, Q, D, a, Q, 7361, 3791, 6401, 9173, 6467, 1167, 3045, 1203, 2625, 8083, 6657