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

SOLUTION: q, 8387

PROBLEM: ['q', 'd', '7613', '9861', 'O', 'k', 'f', '1195', 'L', 'f', 'x', '695', 'g', '1797', 'v', '5093', '6619', '5121', 'V', '9135', '429', 'U', 'i', 'F', '3123', 'i']

SOLUTION: q, d, O, k, f, L, f, x, g, v, V, U, i, F, i, 7613, 9861, 1195, 695, 1797, 5093, 6619, 5121, 9135, 429, 3123

PROBLEM: ['f', '3791', '6605', '2101', 'N', '1625', '2255', 'N', '4091', 'Z', 'b', '8649', '7103', '2477', '3879', 'M', '6065', '4131', '3029', '9269', '9755', 'a', '7885', 'c', 'C', '1283', '1257']

SOLUTION:
f, N, N, Z, b, M, a, c, C, 3791, 6605, 2101, 1625, 2255, 4091, 8649, 7103, 2477, 3879, 6065, 4131, 3029, 9269, 9755, 7885, 1283, 1257