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: ['X', '9205', '9147']

SOLUTION: X, 9205, 9147

PROBLEM: ['3497', 'P', 'B', 'L', '2433', 'u', 'y', 'M', 'd', '7085', '8935', '7701', '3829', 'd', 'i', 'd', '4091', 'X', 'Q', 'd', '4139']

SOLUTION: P, B, L, u, y, M, d, d, i, d, X, Q, d, 3497, 2433, 7085, 8935, 7701, 3829, 4091, 4139

PROBLEM: ['M', 'q', '325', '2481', 'J', 'y', 'z', 'X', '6365', 'i', '7475', 'U', '549', 'Y', '9971', 'U', '4221', 'G', '8405', 'u', '8119', 'f', 'p', 'Y', 'd', '4567', 'T', 'Z', 'M', 'W', 'n', 'b', '9889', '5431', '7143', 'i']

SOLUTION:
M, q, J, y, z, X, i, U, Y, U, G, u, f, p, Y, d, T, Z, M, W, n, b, i, 325, 2481, 6365, 7475, 549, 9971, 4221, 8405, 8119, 4567, 9889, 5431, 7143