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: ['D', 'r', '4449', 'Z', '5365', '1', 'O', 'S', 'A', '9963', '3923', '7051', '8531', '2529', 'E', '1319', '6455', '593', 'N', 'M', 'O']

Output: D, r, Z, O, S, A, E, N, M, O, 4449, 5365, 1, 9963, 3923, 7051, 8531, 2529, 1319, 6455, 593


Input: Consider Input: ['s', 'F', '9491', 'F', '4309', '5021', '3923', '3213', '6727', 's', '9387', '7435', 'g', '7443', '5539', 'r', '3647', '6535', 'P', '1453', 'e', '323']

Output: s, F, F, s, g, r, P, e, 9491, 4309, 5021, 3923, 3213, 6727, 9387, 7435, 7443, 5539, 3647, 6535, 1453, 323


Input: Consider Input: ['9619', 'Q', 'S']


Output: Q, S, 9619