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', '1979', 'c', 'A', 'Y', 'i', 'B']

Output: Y, c, A, Y, i, B, 1979


Input: Consider Input: ['1589', '9499', 'k', '7961', '5859', '6561', '4747', 'y', 'I', '9457', 'm', '9583', 'x', '8305', 'l', '3121', '5639', '4649', 'Z', 'O', '349', 'B', '4307', 's', '41', 'b', '2745', 'v', '1463', 'q', '3787', 's', 'L', 'm', 'w', 't', 'n']

Output: k, y, I, m, x, l, Z, O, B, s, b, v, q, s, L, m, w, t, n, 1589, 9499, 7961, 5859, 6561, 4747, 9457, 9583, 8305, 3121, 5639, 4649, 349, 4307, 41, 2745, 1463, 3787


Input: Consider Input: ['z', 'n', '2489', 'S', 'B', 'y', '8157', 'J', 'r', '8447', '549', '109', 'e', '5435', '147', 'K', '2439', 'N', '5799', 'j', '9481', '8585', 'X', 'X', 'Z', '9695', '2587', '8679', 'X', 'h', '5955', '5111']


Output: z, n, S, B, y, J, r, e, K, N, j, X, X, Z, X, h, 2489, 8157, 8447, 549, 109, 5435, 147, 2439, 5799, 9481, 8585, 9695, 2587, 8679, 5955, 5111