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: ['M', 'b', '7761', '7275', 'N', '6691', '2937', 'a', '733', '9507', 'i', '7205', 'n', '5587', 'c', 'q', '8861', '5551', 'K', 'O', '1687', '3899', 't', 'C']

SOLUTION: M, b, N, a, i, n, c, q, K, O, t, C, 7761, 7275, 6691, 2937, 733, 9507, 7205, 5587, 8861, 5551, 1687, 3899

PROBLEM: ['9401', '9845', 'V', 'N', '2847', 'z', '91', '1601', 'v', 'Z', '657', 'D', '6597', 'M', '3331', '7517', 'k', '5655', '733', '9147', '7617', '4057', 'O', 'K', 'I', '501', '5309', '3703', '5775', '289']

SOLUTION: V, N, z, v, Z, D, M, k, O, K, I, 9401, 9845, 2847, 91, 1601, 657, 6597, 3331, 7517, 5655, 733, 9147, 7617, 4057, 501, 5309, 3703, 5775, 289

PROBLEM: ['X', '6181', 'v', 'y', 'R', '7321', 'T', '2471', 'd', '6127', 'C', '7237', 'p']

SOLUTION:
X, v, y, R, T, d, C, p, 6181, 7321, 2471, 6127, 7237