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: ['4661', '8855', 'x', '5193', '6041', '5815', '8301', 'H', '4623', '8001', '4111', 'N', '4949', 'E', '5015']

Output: x, H, N, E, 4661, 8855, 5193, 6041, 5815, 8301, 4623, 8001, 4111, 4949, 5015


Input: Consider Input: ['53', '9753', '9443']


Output: 53, 9753, 9443