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.
--------
Question: ['N', 'M', '3951', '6031', '2277', 'M', 'Z', '1755', 'g', '255', 'G', '3423', 'W', 'Q', '393', 'M', '5045', 'c', 'J', '9001', '8103']

Answer: N, M, M, Z, g, G, W, Q, M, c, J, 3951, 6031, 2277, 1755, 255, 3423, 393, 5045, 9001, 8103


Question: ['7683', 'l', '5195', 'P', '2049', '6993', '3485', 'M', '9371', '749', 'I', 's', 'h', 'I', 'z', '3759', '6461', 's', 'a', 'L', 'n', '8593', '4651', 'z', '6629', 'U', 't', '9115', '7817', 'R', 'W', 'v', '5313', '7125', 'e', 'b', 'X', 'S', '4445', 'Q']

Answer: l, P, M, I, s, h, I, z, s, a, L, n, z, U, t, R, W, v, e, b, X, S, Q, 7683, 5195, 2049, 6993, 3485, 9371, 749, 3759, 6461, 8593, 4651, 6629, 9115, 7817, 5313, 7125, 4445


Question: ['T', '5877', '1363', '5559', 'A', 'f', '9733', '7219', 'o', 'k', '8619', 'y', '2379', '6603', '9311', 'l', '9363', '9769', '8955', 'v', 'Y', 'k', 'y', '4385', 'K', '5633', '5821', '4007', 'X', 'l']

Answer:
T, A, f, o, k, y, l, v, Y, k, y, K, X, l, 5877, 1363, 5559, 9733, 7219, 8619, 2379, 6603, 9311, 9363, 9769, 8955, 4385, 5633, 5821, 4007