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: ['C', '9029', '4967']

SOLUTION: C, 9029, 4967

PROBLEM: ['q', 'm', '3639', '1029', '6027', 'l', '9765', '165', '2131', 'j', '1403', '8975', 'K', '2587', 'l', '5613', '5657', 'L', 'o', '6831', 'L', 'Q', '3345', '1265', 'F', 'Y', 'i', '3765', '6639', 'I', 'x', '6447', '5573', '8489', 'I', '5753']

SOLUTION: q, m, l, j, K, l, L, o, L, Q, F, Y, i, I, x, I, 3639, 1029, 6027, 9765, 165, 2131, 1403, 8975, 2587, 5613, 5657, 6831, 3345, 1265, 3765, 6639, 6447, 5573, 8489, 5753

PROBLEM: ['6395', 'M', 'b', 'Y', 'T', '9717', 'n', 'W', '6735', 'Q', '6169', '9487', '1099', '5103', 'B', 'l', '3853', 'p', '8645', '9343', 'B', 'M', 'A', 'm', '2789', '5167', 'J', 'Y', '4545', '7159', '8373', '4503', 'J', 'P', '6135']

SOLUTION:
M, b, Y, T, n, W, Q, B, l, p, B, M, A, m, J, Y, J, P, 6395, 9717, 6735, 6169, 9487, 1099, 5103, 3853, 8645, 9343, 2789, 5167, 4545, 7159, 8373, 4503, 6135