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.

Input: Consider Input: ['5043', '6057', 'o', 'a', 'I', '3389', 'q', 'Z', '7613', 'u', '9805', '4397', 'S', '9211', '2333', 'f', '4575', 'F', 'O', '2487', '6959', 'S', 'x', '7421', '4643', '6861', '9847', '9697', '2575', '3989', '7331', 'm', '2713', 'P', '8515', 'H', 'k', '9171', '8931']

Output: o, a, I, q, Z, u, S, f, F, O, S, x, m, P, H, k, 5043, 6057, 3389, 7613, 9805, 4397, 9211, 2333, 4575, 2487, 6959, 7421, 4643, 6861, 9847, 9697, 2575, 3989, 7331, 2713, 8515, 9171, 8931


Input: Consider Input: ['D', 'D', 'O', '173', 'D', 'Q', '3133', '7227', 'j', '8037', 'g', '5337', 'O', '1113', 'X', '1053', 'Q', '4597', '1461', 'x', 'I', '4671', 'U', '7495', 's', '8333', '4627', '1005', 'p', '6697', 'C']

Output: D, D, O, D, Q, j, g, O, X, Q, x, I, U, s, p, C, 173, 3133, 7227, 8037, 5337, 1113, 1053, 4597, 1461, 4671, 7495, 8333, 4627, 1005, 6697


Input: Consider Input: ['2999', '7587', '9521', 'a', 'q', 'f', '2381', '1759', 'w', 'M', 'q', 'S', 'B', '8323', '6501', 'u', 'u', '7577', '5739', 'Z', 'd', 'F', 'f', '11', 'Q', '2141', 'D', 'b', 'b', '9621', '4013']


Output: a, q, f, w, M, q, S, B, u, u, Z, d, F, f, Q, D, b, b, 2999, 7587, 9521, 2381, 1759, 8323, 6501, 7577, 5739, 11, 2141, 9621, 4013