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: ['7469', 'P', 'K', '9385', '8777', 'E', '6105', 'r', 'L', 'g', '5235', '2143', 'w', '3665', 'F', 'f', '9489', 'N', 'x', 'S']

Output: P, K, E, r, L, g, w, F, f, N, x, S, 7469, 9385, 8777, 6105, 5235, 2143, 3665, 9489


Input: Consider Input: ['327', '9245', 'D', 'U', 'C', 'D', '3149', 'J', '7545', 'x', 'O', 'i', '3189', '6727', '7141', '3135', '1903', 'I', '5179', 'o']

Output: D, U, C, D, J, x, O, i, I, o, 327, 9245, 3149, 7545, 3189, 6727, 7141, 3135, 1903, 5179


Input: Consider Input: ['8001', '1621', '2653', '5989', 'd', 'I', '2547', '8285', '4545', '217', 'p', '3745', 'A', 'G', '641', '2993', '9287', '5285', '7849', '979']


Output: d, I, p, A, G, 8001, 1621, 2653, 5989, 2547, 8285, 4545, 217, 3745, 641, 2993, 9287, 5285, 7849, 979