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: ['8101', 'g', 'a', 'S', 'M', 'M', '9499', '4027', 'c', '6661', '783', 'O', '4471', '6575', '6045', 'i', '1561', '5103', 'l', '4653', '3']

SOLUTION: g, a, S, M, M, c, O, i, l, 8101, 9499, 4027, 6661, 783, 4471, 6575, 6045, 1561, 5103, 4653, 3

PROBLEM: ['j', '1935', 'a', 'e', '7369', 'H', 'G', 'U', '2777', 'i', '2773', 'q', '6967', '2491', 'W', 'U', 'f', 'I', 'a', 'S', '803']

SOLUTION: j, a, e, H, G, U, i, q, W, U, f, I, a, S, 1935, 7369, 2777, 2773, 6967, 2491, 803

PROBLEM: ['9539', '7251', '6177', 'Y', '173', '2749', 'b', '6385', '8725', 'q', 'o', 'v', '9235', 'R', 'C', 'v', '9983', '6877', 'p', '5739', '1639', 'x', '8833', 'L', '4233', '7131', 'g', 't', '5249', 'q', '2191', '4341', '7923', 'u', 'q']

SOLUTION:
Y, b, q, o, v, R, C, v, p, x, L, g, t, q, u, q, 9539, 7251, 6177, 173, 2749, 6385, 8725, 9235, 9983, 6877, 5739, 1639, 8833, 4233, 7131, 5249, 2191, 4341, 7923