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: ['b', '6111', 'R', '1477', '2285', '1439', 'q', 'J', 'y', 'a', 'A', 'R']

SOLUTION: b, R, q, J, y, a, A, R, 6111, 1477, 2285, 1439

PROBLEM: ['8817', 'm', '1795', 'q', '2999', 'i', 'n', '5895', '6609', '901', '4099', '5973', 'M', 'j', '5867', '6035', '9425', '3401', '2677', '8939', 'v', 'y', 'S', 'X', '1411', '5595', 'm', '1871']

SOLUTION: m, q, i, n, M, j, v, y, S, X, m, 8817, 1795, 2999, 5895, 6609, 901, 4099, 5973, 5867, 6035, 9425, 3401, 2677, 8939, 1411, 5595, 1871

PROBLEM: ['5589', 'C', '9079', 'Z', '5291', '503', '163', '741', '365', 'w', 'p', 'I', '5591', '5729', '5589', 'A', 'q', '3447', '4795', '8615', '2329', '6627', 'N', '393', 'w', 'm', '5391', 'S', 'K', 'p', '3539', 'U', 'C', '7027', '9325', 'F', 'j', 'a']

SOLUTION:
C, Z, w, p, I, A, q, N, w, m, S, K, p, U, C, F, j, a, 5589, 9079, 5291, 503, 163, 741, 365, 5591, 5729, 5589, 3447, 4795, 8615, 2329, 6627, 393, 5391, 3539, 7027, 9325