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: ['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: ['4239', '3547', 'Z', '8393', 'd', 'p', '5735', '2043', 'v', 'b', 'M', '3807', 'H']

SOLUTION: Z, d, p, v, b, M, H, 4239, 3547, 8393, 5735, 2043, 3807

PROBLEM: ['697', 'm', '1005']

SOLUTION:
m, 697, 1005