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: ['661', '4531', '3329', 'c', '7131', 'n', 'J', '3925', '8073', 'O', '3171', '2057', 'W', 'k', 'a', 'v', '2749', '9649', 'w', 'Y', '4901']

SOLUTION: c, n, J, O, W, k, a, v, w, Y, 661, 4531, 3329, 7131, 3925, 8073, 3171, 2057, 2749, 9649, 4901

PROBLEM: ['J', '4469', '1443', '1919', '3219', 'c', '4293', 'C', '7159', '2293', '4351', 'g', 'g', 'f', '423', '9373', '6949', 'Q', '3539']

SOLUTION: J, c, C, g, g, f, Q, 4469, 1443, 1919, 3219, 4293, 7159, 2293, 4351, 423, 9373, 6949, 3539

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