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: ['N', 'M', '3951', '6031', '2277', 'M', 'Z', '1755', 'g', '255', 'G', '3423', 'W', 'Q', '393', 'M', '5045', 'c', 'J', '9001', '8103']

Output: N, M, M, Z, g, G, W, Q, M, c, J, 3951, 6031, 2277, 1755, 255, 3423, 393, 5045, 9001, 8103


Input: Consider Input: ['I', 'X', '5405', '9013', 'd', '4947', '3431', 'V']

Output: I, X, d, V, 5405, 9013, 4947, 3431


Input: Consider Input: ['5429', 'E', '817', '3545', 'a', '5043', 'O', '8255', 'w', '917', 'e', 'W', 'u', 'e', 'D', 't', 'F', '3945', '1421', '1327', 'D', '697', 'Q', 'B', 'z', '5909']


Output: E, a, O, w, e, W, u, e, D, t, F, D, Q, B, z, 5429, 817, 3545, 5043, 8255, 917, 3945, 1421, 1327, 697, 5909