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: ['7637', '9993', '9947', 'w', '7593', '5621', 'W', 'W', '7157', '4811', '873', '7065', '3095', 'o', 'S', '5275', '3847', '4315', 'x', '53', '5923', 'v', 'h', 'N', 'L', 'S', '2547', '1703', '7883', '7665']

A: w, W, W, o, S, x, v, h, N, L, S, 7637, 9993, 9947, 7593, 5621, 7157, 4811, 873, 7065, 3095, 5275, 3847, 4315, 53, 5923, 2547, 1703, 7883, 7665
****
Q: ['x', 'f', 'L', '3955', '2651', 'q', '7975', 'I', '5809', '5131', '5109', 'p', 'J', '6093', '9679', '3367', '7145']

A: x, f, L, q, I, p, J, 3955, 2651, 7975, 5809, 5131, 5109, 6093, 9679, 3367, 7145
****
Q: ['2881', 'Z', 'B', 'l', 'N', 'b', '7351', '1869', '9863', 'D', 'g', 'a', 'm', 'F', '9757', '7659', '2325', 'N', '479', 'e', 'I', 'l']

A:
Z, B, l, N, b, D, g, a, m, F, N, e, I, l, 2881, 7351, 1869, 9863, 9757, 7659, 2325, 479
****