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: ['6777', '9975', 'j', 'Y']

Output: j, Y, 6777, 9975


Input: Consider Input: ['2515', 'O', '4657', '6143', 'e', 'y', 'a', 'y', '3549', 'q', '973', '4535', 't', 'X', '5035', 'T', '9837', '2271', 'w', '5605', 't', 't', '8437']

Output: O, e, y, a, y, q, t, X, T, w, t, t, 2515, 4657, 6143, 3549, 973, 4535, 5035, 9837, 2271, 5605, 8437


Input: Consider Input: ['w', '9297', 'Q', 'O', 'L', 'J', 'O', '7829', '4825', 'g', '9385', '4717', 'U', '1677', '7731', 'o', 'y', 'I', 'S', '2973', 'Y']


Output: w, Q, O, L, J, O, g, U, o, y, I, S, Y, 9297, 7829, 4825, 9385, 4717, 1677, 7731, 2973