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: ['8017', 'l', '5589', 'q', 'u', 'x', '9165', 'T', 'O', 'H', 'Y', '8265', '5893', '3977', 'w', '9953', 'e', '4913', 'Q', 'f', 'U', 'L', '2097', 'B', 'L', 'z', '151', 'S', '4955', '7769', 'N', '5601', 'w', 'i', '5761', 'c', 'H']

Output: l, q, u, x, T, O, H, Y, w, e, Q, f, U, L, B, L, z, S, N, w, i, c, H, 8017, 5589, 9165, 8265, 5893, 3977, 9953, 4913, 2097, 151, 4955, 7769, 5601, 5761


Input: Consider Input: ['6575', 'Z', '3527', '5253', 'y', '7681', '5493']

Output: Z, y, 6575, 3527, 5253, 7681, 5493


Input: Consider Input: ['k', '1231', 'c', 'v', '6729', '7217', 'E', '4921', 'h', 'x', 'g', '3597', 's', 'M', 'T', 'z', '7045', 'N', 'T', 'C', '1255', '7769', 'S', '2533', '7201', '2483', 'l', '7119', '1691', 'w', 'e', '8355', 'u', '9979', 'i', 'H', 'j']


Output: k, c, v, E, h, x, g, s, M, T, z, N, T, C, S, l, w, e, u, i, H, j, 1231, 6729, 7217, 4921, 3597, 7045, 1255, 7769, 2533, 7201, 2483, 7119, 1691, 8355, 9979