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: ['j', 'h', '1213', '2235', 'Z', 'z', 'y', '3173', 'U', '3409', '9049', 'g', '3287', 's', 'n', '7121', '1697', 'T', '2395', 'y', 'M']

SOLUTION: j, h, Z, z, y, U, g, s, n, T, y, M, 1213, 2235, 3173, 3409, 9049, 3287, 7121, 1697, 2395

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: ['2485', '6645', '1229', 'h', '473', 'i', 'Y', '985', 'w']

SOLUTION:
h, i, Y, w, 2485, 6645, 1229, 473, 985