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.

Q: ['661', '4531', '3329', 'c', '7131', 'n', 'J', '3925', '8073', 'O', '3171', '2057', 'W', 'k', 'a', 'v', '2749', '9649', 'w', 'Y', '4901']

A: c, n, J, O, W, k, a, v, w, Y, 661, 4531, 3329, 7131, 3925, 8073, 3171, 2057, 2749, 9649, 4901
****
Q: ['c', '437', '8885', '8391', 'q', '9577', 'T', 'u', '1511', 'k', 'U', 'y', 'H', 'P', '7529', 'H', 'f', 'G', '5595', 'v', 'F', 'x', 'E', 'C', 'Z', '323', '2637', 'o', 'q', '5405', 'w']

A: c, q, T, u, k, U, y, H, P, H, f, G, v, F, x, E, C, Z, o, q, w, 437, 8885, 8391, 9577, 1511, 7529, 5595, 323, 2637, 5405
****
Q: ['4855', '3917', '5365', '7581', '1231', 'o', 'L', '8023', '755', 'q', 'm', '1903', '3817', 'X', '1925', 'g', 'p', 'B', 'i', 'P', 'P', '2359', '1161', '173', '5923', 'C', '1625', '3083', '5027', '6883', '7243']

A:
o, L, q, m, X, g, p, B, i, P, P, C, 4855, 3917, 5365, 7581, 1231, 8023, 755, 1903, 3817, 1925, 2359, 1161, 173, 5923, 1625, 3083, 5027, 6883, 7243
****