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: ['P', 'D', '199', '8721', '9133', 'b', 'i', '4041', 'l', '2799', '5949', '2191', '7095', '4573', 'h', '1561', 'k', 'J', 'a', 'O', '5877', '5109', 'X', '2253', '4381', 'S', '3609', '4219', 'Y', 'L', '9165', '1911', '861', '8627']

Output: P, D, b, i, l, h, k, J, a, O, X, S, Y, L, 199, 8721, 9133, 4041, 2799, 5949, 2191, 7095, 4573, 1561, 5877, 5109, 2253, 4381, 3609, 4219, 9165, 1911, 861, 8627


Input: Consider Input: ['g', 'Z', 'D', 'W', 'j', 'a', 'q', 'L', '7219', 'O', '4489', '5149', 'A', '7605', '2361', 'v', '865', 'S', 'g', 'P', 'u', 'l', 'A', 'w']

Output: g, Z, D, W, j, a, q, L, O, A, v, S, g, P, u, l, A, w, 7219, 4489, 5149, 7605, 2361, 865


Input: Consider Input: ['L', '2439', '8439', 'P', 'E', '3747', 'e', 'W', '6973', 'S', 'c', 's', 'd', '8901', '7045', 'n', 'T', '8763', '6251', '2289', 'I', 'i', 'y', 'G', 'F', 'c', 'j', '7327', 'T', '8883', 'c', 'p', '973', 'z', 'n', 'M', '6739', 'R', '3527', 'S']


Output: L, P, E, e, W, S, c, s, d, n, T, I, i, y, G, F, c, j, T, c, p, z, n, M, R, S, 2439, 8439, 3747, 6973, 8901, 7045, 8763, 6251, 2289, 7327, 8883, 973, 6739, 3527