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: ['291', 't', '3207', 's', '289', 'X', 'U', 'M', '2689', '3303', '9679', 's', 'Z', 'M', '3693', 'x', '7903', 'w', 'T', 'v', '3475', '2133', 'S', '8041', '7323', '8199', 'C', '1785', '9757', 'y', 'P', '6823', '1427']

SOLUTION: t, s, X, U, M, s, Z, M, x, w, T, v, S, C, y, P, 291, 3207, 289, 2689, 3303, 9679, 3693, 7903, 3475, 2133, 8041, 7323, 8199, 1785, 9757, 6823, 1427

PROBLEM: ['b', 'A', '6401', 'N', 't', 'V', 's', 'i', '6143', 'N', '6377', 'n', 'm', '5725', '8819', '4769', '3817', 'Q', '7535', '7981', '6939', 'q', '3545', '453', '8389', '2025', 'q', 'U']

SOLUTION: b, A, N, t, V, s, i, N, n, m, Q, q, q, U, 6401, 6143, 6377, 5725, 8819, 4769, 3817, 7535, 7981, 6939, 3545, 453, 8389, 2025

PROBLEM: ['t', '8489', '6119', 'I', '7727', 'B', '8201', '4133', 'x', 'g', '1649', '8531', 'A', 'i', 'V', 't', '7847', 'U', '8287', '2829', '3157', 'C', '2709', 'J', 'R', 'S', '8767', '3033']

SOLUTION:
t, I, B, x, g, A, i, V, t, U, C, J, R, S, 8489, 6119, 7727, 8201, 4133, 1649, 8531, 7847, 8287, 2829, 3157, 2709, 8767, 3033