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: ['8695', '1599', 'o', '2277', 'R', 'o', '6891', 'W', '839', '4915', '2173', 'f', '4755', 'l', '9803', 'p']

SOLUTION: o, R, o, W, f, l, p, 8695, 1599, 2277, 6891, 839, 4915, 2173, 4755, 9803

PROBLEM: ['S', 'n', 'w', 'M', '3629', '1381', 'l', '7203', '1505', '5217', 'F', '5557', '3421', '7659', 'W', 'k', 't', 'K', 'W', 'q', '4039', 'b', 't', 'd', '5415', 'F', 't', 'u', 'W', 'j', '6425', 'Y']

SOLUTION: S, n, w, M, l, F, W, k, t, K, W, q, b, t, d, F, t, u, W, j, Y, 3629, 1381, 7203, 1505, 5217, 5557, 3421, 7659, 4039, 5415, 6425

PROBLEM: ['r', '5023', 'H', '3617', 'f', '2661', '3231', '4587', 'R', 'j', '5909', '9783', 'f', '1841', 'A', 'x', 'C', '2727', '6473', 'Q', 'I', '3089', '4179', '6187', '8819']

SOLUTION:
r, H, f, R, j, f, A, x, C, Q, I, 5023, 3617, 2661, 3231, 4587, 5909, 9783, 1841, 2727, 6473, 3089, 4179, 6187, 8819