TASK DEFINITION: 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.
PROBLEM: ['7171', 'N', '463', 'w', 'd', 'T', '7361', 'C', 'n', 'Y', 'x', '5805', 'K', '9973', 'X', '6789', '2683', 'p', 'X', 's', '3335', 'N', 'c', '4319', '6047', 'r', '4847', '3493', '2195', 'e', 'G', 'G', 'k', 'w', '4969', 'g']

SOLUTION: N, w, d, T, C, n, Y, x, K, X, p, X, s, N, c, r, e, G, G, k, w, g, 7171, 463, 7361, 5805, 9973, 6789, 2683, 3335, 4319, 6047, 4847, 3493, 2195, 4969

PROBLEM: ['3805', 'd', 'V', 'u', '1395', '7337', '97', '6289', '5041', '8097', 'x', 'w', '7241', '2791', 'P', 'o', '7587', '6955', '9121', '599']

SOLUTION: d, V, u, x, w, P, o, 3805, 1395, 7337, 97, 6289, 5041, 8097, 7241, 2791, 7587, 6955, 9121, 599

PROBLEM: ['w', 'B', 'K', 'z', '7853', 'P', 'P', '1701', '2167', '405', 'r', 'O', 'l', 'S', '3919', 'D', '3401', '5685', '643', '1303', 'e', 'F', '2491', '5141', '5411', 'o', 'Q', '7197', '4175', 'd', '1815', '4773', '8631', '9873', '2589', '5673', '4069', 'j', 'H']

SOLUTION:
w, B, K, z, P, P, r, O, l, S, D, e, F, o, Q, d, j, H, 7853, 1701, 2167, 405, 3919, 3401, 5685, 643, 1303, 2491, 5141, 5411, 7197, 4175, 1815, 4773, 8631, 9873, 2589, 5673, 4069