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: ['1349', 'q', 'G', '1879', '7487', '4471', '6555', '477', '907', 'H', 'Q', '4667', 'x', 'e', 'i', 'd', '9909', '403', 'M', 'j', '8651', '4493', '6933', '9191', '2993', 's', '2881', 'r', 'O', '2341', 'o', 'G', '8201', '2455', '1773', 'a', '2201', 'x', '749', '3011']

SOLUTION: q, G, H, Q, x, e, i, d, M, j, s, r, O, o, G, a, x, 1349, 1879, 7487, 4471, 6555, 477, 907, 4667, 9909, 403, 8651, 4493, 6933, 9191, 2993, 2881, 2341, 8201, 2455, 1773, 2201, 749, 3011

PROBLEM: ['n', '5465', '5621', '9305', 'p']

SOLUTION: n, p, 5465, 5621, 9305

PROBLEM: ['2487', '5053', 'r', '1695', 'o', '767', '4271', '1861', 'n', '5225', '1217', '9229', 'e', '351', '743', 'Z', '6181', 'f', 'D', '8279', 'P', 'Y', 'k', 'k', '4519', 'F', 'e', '6829', '6525', 'B', 's', 'z', 'E', '3285', 'P', '8041', '1941', 'q', 'Y', 'U']

SOLUTION:
r, o, n, e, Z, f, D, P, Y, k, k, F, e, B, s, z, E, P, q, Y, U, 2487, 5053, 1695, 767, 4271, 1861, 5225, 1217, 9229, 351, 743, 6181, 8279, 4519, 6829, 6525, 3285, 8041, 1941