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: ['J', 'X', '4569', '8419', 'H', '7977', 'x', 'a', 'Q', '3953', '2337', 'u', '1317', 'i', 'j', '6933', '1053', '8345', '9831', 'a', '8859', '759', 'p', 'A', '7163']

Output: J, X, H, x, a, Q, u, i, j, a, p, A, 4569, 8419, 7977, 3953, 2337, 1317, 6933, 1053, 8345, 9831, 8859, 759, 7163


Input: Consider Input: ['m', 'T', 'z', '4153', 'd', '3833', '2085', 'd', 'Q', '7615', '733', 'y', '735', '7795', 'U', 'K', '1951', 'i', '5127', '9621', '4871']

Output: m, T, z, d, d, Q, y, U, K, i, 4153, 3833, 2085, 7615, 733, 735, 7795, 1951, 5127, 9621, 4871


Input: Consider Input: ['433', 'v', '8983', '3381', '4625', 'x', 'h', 'q', '629', '6489', '7989', 'H', 'u', 'd', 'Z', '9605', '4641', 'M', 'O', '4161', 'D', '5667', 'M', '8561', 'A', '2983', 'B', 'B', '1327']


Output: v, x, h, q, H, u, d, Z, M, O, D, M, A, B, B, 433, 8983, 3381, 4625, 629, 6489, 7989, 9605, 4641, 4161, 5667, 8561, 2983, 1327