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: ['4245', 'r', '6159', '1157', '1605', '7841', 'n', '6205', 'R', '1975', 'k', 'P', '5613', '107', '9217', '3399', '1287', 'z', 'H', '9867', 'R', 's', 'd', 'B', '7013', '5783', '9587', '95', '9703']

SOLUTION: r, n, R, k, P, z, H, R, s, d, B, 4245, 6159, 1157, 1605, 7841, 6205, 1975, 5613, 107, 9217, 3399, 1287, 9867, 7013, 5783, 9587, 95, 9703

PROBLEM: ['q', 'l', '989', '1783', 'm', '5', 'B', '2519', 't', 'u', '711', '7713', '8415', '2203']

SOLUTION: q, l, m, B, t, u, 989, 1783, 5, 2519, 711, 7713, 8415, 2203

PROBLEM: ['p', 'o', 'D', '4813', 's', 'O', '9157', 'Q', '7613', '3561', '705', '3237', 'q', 's', '8167', '651', '7893', 'A', '3727', 'd', '6413', '2753', '8365', 'F', '4505', '8329', '5327', '7753', '2311', '9685', '5449', '4561']

SOLUTION:
p, o, D, s, O, Q, q, s, A, d, F, 4813, 9157, 7613, 3561, 705, 3237, 8167, 651, 7893, 3727, 6413, 2753, 8365, 4505, 8329, 5327, 7753, 2311, 9685, 5449, 4561