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: ['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']

Answer: 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


Question: ['i', '1565', '581', 'D', 'i', 'k', 'i', 'o', 'p', '1147', '4847', 'G', 'W', '6881', 'm', 'h', 'z', '3613', 's', 't', '7921', '4837']

Answer: i, D, i, k, i, o, p, G, W, m, h, z, s, t, 1565, 581, 1147, 4847, 6881, 3613, 7921, 4837


Question: ['2987', '3803', 'J', '3401', 'c', '7879', 'y', 'n', '251', 'P', '3529', '2877', 'L', '4675', '2795', '8109', '3089', 'V']

Answer:
J, c, y, n, P, L, V, 2987, 3803, 3401, 7879, 251, 3529, 2877, 4675, 2795, 8109, 3089