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: ['3425', '7105', 'p']

Output: p, 3425, 7105


Input: Consider Input: ['2219', '8431', 'Q', '7525', '9603', '7475', 'E', '3917', '2273', 'f', '7621', '5785', '2155', '2177', '9327', 'I', '3215', 'z', '6583', '703', '5665', '825', '5953', '7431', 'h', 't', 'a']


Output: Q, E, f, I, z, h, t, a, 2219, 8431, 7525, 9603, 7475, 3917, 2273, 7621, 5785, 2155, 2177, 9327, 3215, 6583, 703, 5665, 825, 5953, 7431