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]: ['X', '9205', '9147']
[A]: X, 9205, 9147


[Q]: ['T', '5777', '3067', '2309', 'S', 'H', 'e', '5353', '2675', '2233', '7635', '7559', '1797', 'G', '3733', 'm', '3775', 'Q', '3827', '1607', 'M', '2039', 'D', 'w', 'C', 'S', 'p', 'Y', 'N', 'e', 'n', 'i', '4459', '3267', '4919', '3849']
[A]: T, S, H, e, G, m, Q, M, D, w, C, S, p, Y, N, e, n, i, 5777, 3067, 2309, 5353, 2675, 2233, 7635, 7559, 1797, 3733, 3775, 3827, 1607, 2039, 4459, 3267, 4919, 3849


[Q]: ['8267', 'C', '5037', 'g', 'z', 'p', '783', 'M', '169', '7513', 'B', '339', '7367', '3573', '987', '5719', 'Q', '3385', '9943']
[A]:
C, g, z, p, M, B, Q, 8267, 5037, 783, 169, 7513, 339, 7367, 3573, 987, 5719, 3385, 9943