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: ['q', 'y', 'h', '6797', 'm', 'p', '3303', '4349', '9779', '6367', '3107', 'R', 'C', '6105', '6165', '6611', 'O', '6697', 'l', 'L', 'Q', '8817', 'x']

Output: q, y, h, m, p, R, C, O, l, L, Q, x, 6797, 3303, 4349, 9779, 6367, 3107, 6105, 6165, 6611, 6697, 8817


Input: Consider Input: ['4129', '9577', 'Z', '4577', '7351', 't', 'C', '7761', '6173', '6451', 'Z', '1907', '2745', 'U', '3093', '5825', 'd', 'z', 'd', '7067', '2789', 'T', '2547', '2133', 'p', '663', '4209', 't', 'k']

Output: Z, t, C, Z, U, d, z, d, T, p, t, k, 4129, 9577, 4577, 7351, 7761, 6173, 6451, 1907, 2745, 3093, 5825, 7067, 2789, 2547, 2133, 663, 4209


Input: Consider Input: ['s', '5777', '4589', 'E', '2095', '4795', 'x', 'W', '5959', '9859', 'B', '9239', '4349', '1171', 'r', '7145', 'M', 'X', 'q', '3357', 'D', '5277', '2091', '2761', 'b', 'B', 'b', '9619', '9645', 'd']


Output: s, E, x, W, B, r, M, X, q, D, b, B, b, d, 5777, 4589, 2095, 4795, 5959, 9859, 9239, 4349, 1171, 7145, 3357, 5277, 2091, 2761, 9619, 9645