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: ['9557', '3765', 'u', '2523', '1195', '5499', 'Z', 'E', '3021', 'a', 'e', '6245', 'f', '8035', '7325', '3311', '3145', 'U', '9169', 'P', 'h', 'R', '8863', 'H', 'M', '4817', '6159', '359', 'x', 't', 'a', '2151']

SOLUTION: u, Z, E, a, e, f, U, P, h, R, H, M, x, t, a, 9557, 3765, 2523, 1195, 5499, 3021, 6245, 8035, 7325, 3311, 3145, 9169, 8863, 4817, 6159, 359, 2151

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: ['7083', 'j', '3301', '145', 'p', '9513', '4027', 's', 'C', 'q', '4935', 'B', 'P', '697', '7099', 'Z', '7339', 'g', '8191', '2285', 'w', 'F', 'g', 'g']

SOLUTION:
j, p, s, C, q, B, P, Z, g, w, F, g, g, 7083, 3301, 145, 9513, 4027, 4935, 697, 7099, 7339, 8191, 2285