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', 'o', 'u', '8973', 'x', 'U', '7579', '8181', 'I', 'b', '2851', 'e', '7695', 'N', 'E', 'A', '6085', 'n', '1039', 'y', '2549', 'N', 'H', '4509', 'g', '3735', 'm', 'B', '6261', '9175', 'p', 'J', 'f', 't', 'v', '1943', 'h', 'c', '8217']

Output: J, o, u, x, U, I, b, e, N, E, A, n, y, N, H, g, m, B, p, J, f, t, v, h, c, 8973, 7579, 8181, 2851, 7695, 6085, 1039, 2549, 4509, 3735, 6261, 9175, 1943, 8217


Input: Consider Input: ['U', '3969', 'X', 'D', '1321', '749', '6621', 'f', 'd', 'i', 's', '8399', 'P', '9363', '495', 'e', 'o']

Output: U, X, D, f, d, i, s, P, e, o, 3969, 1321, 749, 6621, 8399, 9363, 495


Input: Consider Input: ['1743', '5393', 'k', '5487', 'k', '2879', '1085', 'z', '6521', '547', '2477', 'q', 'p', '2609', '6721', '4911', '6811', '3747']


Output: k, k, z, q, p, 1743, 5393, 5487, 2879, 1085, 6521, 547, 2477, 2609, 6721, 4911, 6811, 3747