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: ['4223', 'a', '3161', '6925', '1553', 'y', '3481', 't', '5731', 'p', '5449', 'O', '1149', '6769', '2679']

SOLUTION: a, y, t, p, O, 4223, 3161, 6925, 1553, 3481, 5731, 5449, 1149, 6769, 2679

PROBLEM: ['327', '9245', 'D', 'U', 'C', 'D', '3149', 'J', '7545', 'x', 'O', 'i', '3189', '6727', '7141', '3135', '1903', 'I', '5179', 'o']

SOLUTION: D, U, C, D, J, x, O, i, I, o, 327, 9245, 3149, 7545, 3189, 6727, 7141, 3135, 1903, 5179

PROBLEM: ['J', 'd', 'M', 'q']

SOLUTION:
J, d, M, q