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: ['8031', 'X', 'j', 'm', 'x', 'O', 'Y', 'p', 'z', 'U', '5125', 'J', '9977', '8977', '3787', '5241', 'z', '8985', '5807', '5063', '1133', '8497', 'n', 'C', 'j', 'X', '3299', 'Y', 'X', 't', '6197', 'a', 'f', 'S']

Output: X, j, m, x, O, Y, p, z, U, J, z, n, C, j, X, Y, X, t, a, f, S, 8031, 5125, 9977, 8977, 3787, 5241, 8985, 5807, 5063, 1133, 8497, 3299, 6197


Input: Consider Input: ['7877', '8991', '5669', 'r', '4699', '3493', '9175', 'j', 'e', '9885', '9621', 'a', '8083', 'L', 'G', '787', '4821', '6591', '2251']

Output: r, j, e, a, L, G, 7877, 8991, 5669, 4699, 3493, 9175, 9885, 9621, 8083, 787, 4821, 6591, 2251


Input: Consider Input: ['4223', 'a', '3161', '6925', '1553', 'y', '3481', 't', '5731', 'p', '5449', 'O', '1149', '6769', '2679']


Output: a, y, t, p, O, 4223, 3161, 6925, 1553, 3481, 5731, 5449, 1149, 6769, 2679