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: ['3061', 'M', '3839', 'q', '8167', 't', '7843', 'X', 'H', '5455', '5453', 'n', 'Q', 'G', 'c', 'J', '6119', 'i', '1957', '2635', 'n', '3189', '9591', '9559', '6021', 'Z', 'W', '7733', '4401', '7353', '6995', '771', 'G', 'v', 'z', 'v']

SOLUTION: M, q, t, X, H, n, Q, G, c, J, i, n, Z, W, G, v, z, v, 3061, 3839, 8167, 7843, 5455, 5453, 6119, 1957, 2635, 3189, 9591, 9559, 6021, 7733, 4401, 7353, 6995, 771

PROBLEM: ['t', '5575', 'u', '1955', '7407', '4663', '6417', '1169', '1083', '5381', 'R', 'k', '3189', '5247', 'I', '5971', '447', 'i', '8045', '3265', '6705', '8707', 'Z', 'n', '1433', 'q']

SOLUTION: t, u, R, k, I, i, Z, n, q, 5575, 1955, 7407, 4663, 6417, 1169, 1083, 5381, 3189, 5247, 5971, 447, 8045, 3265, 6705, 8707, 1433

PROBLEM: ['A', 'r', '3613', '4353', '8825', '3183', '2115', '2201', '9611', '5659', '9011', '6247', '2053', '9787', 'g', 'F', '1023', '4957', 'X', 'T', 'Q', '2387', 't', 'D', '9165', 'D', 'h', 'V', '5499', 'i', 'F', '9399', 'm', '1035', 'H', '8197', '1919', '753']

SOLUTION:
A, r, g, F, X, T, Q, t, D, D, h, V, i, F, m, H, 3613, 4353, 8825, 3183, 2115, 2201, 9611, 5659, 9011, 6247, 2053, 9787, 1023, 4957, 2387, 9165, 5499, 9399, 1035, 8197, 1919, 753