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: ['3217', '5145', 'Z', 'a', 'x', 'm', 'f', 'p']

SOLUTION: Z, a, x, m, f, p, 3217, 5145

PROBLEM: ['2253', 'm', '2085', '2969', 'L', '1193', 't', '8093', '8835', '4643', 'u', '837', 'z', 'b', 'g', '8955', 'n', '9911', '3653', '105', 'S', 'o', '3381', '1837', 'Z', 'm', 'q', 'j', '8727', 'U', '5675', '5587', '8635', 'E', '1873', 'L', '7237']

SOLUTION: m, L, t, u, z, b, g, n, S, o, Z, m, q, j, U, E, L, 2253, 2085, 2969, 1193, 8093, 8835, 4643, 837, 8955, 9911, 3653, 105, 3381, 1837, 8727, 5675, 5587, 8635, 1873, 7237

PROBLEM: ['f', 'r', '3865', 'V', '3613', 'V', 'O', 'b', '8527', '5295', '4709', '1937', '7411', '4345', '5153', '2343', 't', '7663', '8293', '7735', 'J', '8047', '2187', '5979', '2371', 'T', '9385', 'p', '1569', '745', 'f', 'Q', 'T', 'n', 'r', 'S', 'j', '5483', '4155', 'e']

SOLUTION:
f, r, V, V, O, b, t, J, T, p, f, Q, T, n, r, S, j, e, 3865, 3613, 8527, 5295, 4709, 1937, 7411, 4345, 5153, 2343, 7663, 8293, 7735, 8047, 2187, 5979, 2371, 9385, 1569, 745, 5483, 4155