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: ['3217', '5145', 'Z', 'a', 'x', 'm', 'f', 'p']

SOLUTION: Z, a, x, m, f, p, 3217, 5145

PROBLEM: ['t', '2943', 'y', '8491', 'x', 'Y', 'g', 'w', '3015', '3757', '3901', 'v', 'x', '8581', '5463', '9149', 'b', '1991', 'E', '8373', 'E', '6509', '1483', 'g', 'c', 'C', 'k', '4589', 'F', '5969', 'f', 'w', '2237']

SOLUTION: t, y, x, Y, g, w, v, x, b, E, E, g, c, C, k, F, f, w, 2943, 8491, 3015, 3757, 3901, 8581, 5463, 9149, 1991, 8373, 6509, 1483, 4589, 5969, 2237

PROBLEM: ['t', '2505']

SOLUTION:
t, 2505