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: ['c', '8771', 't', 'e', '8875', 'q']

A: c, t, e, q, 8771, 8875
****
Q: ['8017', 'l', '5589', 'q', 'u', 'x', '9165', 'T', 'O', 'H', 'Y', '8265', '5893', '3977', 'w', '9953', 'e', '4913', 'Q', 'f', 'U', 'L', '2097', 'B', 'L', 'z', '151', 'S', '4955', '7769', 'N', '5601', 'w', 'i', '5761', 'c', 'H']

A: l, q, u, x, T, O, H, Y, w, e, Q, f, U, L, B, L, z, S, N, w, i, c, H, 8017, 5589, 9165, 8265, 5893, 3977, 9953, 4913, 2097, 151, 4955, 7769, 5601, 5761
****
Q: ['7973', '6275', '6107', 'U', '933', '9617', '9117', 'M', 'p', '3891', '8845', '5681', 'D', '9375', 'W', 'D', '2679', 'P', '9935', 'l', 'F', 'E', 'E', 'x', '8351', 'I', 'N', '3949', 'X', '6077', '5405', '9897', '3171', 'm', 'Q', 'e', 'w', '2419', 'T', 'q']

A:
U, M, p, D, W, D, P, l, F, E, E, x, I, N, X, m, Q, e, w, T, q, 7973, 6275, 6107, 933, 9617, 9117, 3891, 8845, 5681, 9375, 2679, 9935, 8351, 3949, 6077, 5405, 9897, 3171, 2419
****