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: ['8101', 'g', 'a', 'S', 'M', 'M', '9499', '4027', 'c', '6661', '783', 'O', '4471', '6575', '6045', 'i', '1561', '5103', 'l', '4653', '3']

Output: g, a, S, M, M, c, O, i, l, 8101, 9499, 4027, 6661, 783, 4471, 6575, 6045, 1561, 5103, 4653, 3


Input: Consider Input: ['5691', 'O', '2607', 'b', 'Z']

Output: O, b, Z, 5691, 2607


Input: Consider Input: ['Q', 'r', 'g', 'G', '5341', '6537', '2373', 'P', 's', 'N', '525', 'j', 'A', 'G', 'N', '3027', '8597', 'O', '3439', 'J', '2507', 'R']


Output: Q, r, g, G, P, s, N, j, A, G, N, O, J, R, 5341, 6537, 2373, 525, 3027, 8597, 3439, 2507