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: ['2989', 'l', 'a', 'C', '6411', 'n', '55', '4103', 'y', 'b', 'G', 'G']

SOLUTION: l, a, C, n, y, b, G, G, 2989, 6411, 55, 4103

PROBLEM: ['t', 't', '2017', '8431', 'T', '7271', '4561', '4679', 'n', '4909', '1059', '7397', '3957', '8825', '1553', 'I', '941', '6749', '9865', '5947', 'q']

SOLUTION: t, t, T, n, I, q, 2017, 8431, 7271, 4561, 4679, 4909, 1059, 7397, 3957, 8825, 1553, 941, 6749, 9865, 5947

PROBLEM: ['u', 'W', 'U', 'q', 'Z', 'F', '5701', 'i', 'U', '3449']

SOLUTION:
u, W, U, q, Z, F, i, U, 5701, 3449