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: ['R', 'G', 'q', 'h', 'S', '3927', 'F', '1733', 'J', '891', 'Y', 'w', '9279', '447', 'L', '3511', '4641', '2599', 'q', 'd', '6279', '8873', '2225', 'S', 'x', 'j', 'e', '9103', '9821', '9405', 'l', 'g', '623', 'b', 'd', '5225', 'U']

SOLUTION: R, G, q, h, S, F, J, Y, w, L, q, d, S, x, j, e, l, g, b, d, U, 3927, 1733, 891, 9279, 447, 3511, 4641, 2599, 6279, 8873, 2225, 9103, 9821, 9405, 623, 5225

PROBLEM: ['7683', 'l', '5195', 'P', '2049', '6993', '3485', 'M', '9371', '749', 'I', 's', 'h', 'I', 'z', '3759', '6461', 's', 'a', 'L', 'n', '8593', '4651', 'z', '6629', 'U', 't', '9115', '7817', 'R', 'W', 'v', '5313', '7125', 'e', 'b', 'X', 'S', '4445', 'Q']

SOLUTION: l, P, M, I, s, h, I, z, s, a, L, n, z, U, t, R, W, v, e, b, X, S, Q, 7683, 5195, 2049, 6993, 3485, 9371, 749, 3759, 6461, 8593, 4651, 6629, 9115, 7817, 5313, 7125, 4445

PROBLEM: ['m', 'Z', '1447', 'G', 'X', '5379', 'j', 'h', 'd', 'y', '4261', 'f', '2315', '2809', 'H', '87', 'a', 'l', 'R', '4631', '2875', 'f', 'b', '3195', 'v', '3091', '2217', '7301', 'c', 'a', '7835', '4063', 'R', 't', '8027', '9937', 'D', 'g', '8061']

SOLUTION:
m, Z, G, X, j, h, d, y, f, H, a, l, R, f, b, v, c, a, R, t, D, g, 1447, 5379, 4261, 2315, 2809, 87, 4631, 2875, 3195, 3091, 2217, 7301, 7835, 4063, 8027, 9937, 8061