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', '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: ['l', '4777', '3081', '6583', '1665', '6677', '2663', 'D', 'y', 'J', '801', 'j', '5055', '2445', 'k', 'M', '7851']

SOLUTION: l, D, y, J, j, k, M, 4777, 3081, 6583, 1665, 6677, 2663, 801, 5055, 2445, 7851

PROBLEM: ['N', '1231']

SOLUTION:
N, 1231