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: ['Y', 'R', 'C', 'R', 'O']

Output: Y, R, C, R, O


Input: Consider Input: ['2397', '1403', '7057', 's', 'e', 'd', 'n', '1851', 'n', '5057']

Output: s, e, d, n, n, 2397, 1403, 7057, 1851, 5057


Input: Consider Input: ['2879', '6059', '2359', 'D', 'g', 'L', 'd', 'f', 'j', '5525', 'd', 'Y', '1107', 'w', 'S', 'g', '5003', '3529']


Output: D, g, L, d, f, j, d, Y, w, S, g, 2879, 6059, 2359, 5525, 1107, 5003, 3529