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: ['P', '6987', '9279', 'c', 'A', '9533', 'X', '8511', 's', 'O', 'i', 'a', '4939']

SOLUTION: P, c, A, X, s, O, i, a, 6987, 9279, 9533, 8511, 4939

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: ['l', '7583', 'U', '8823', '419', '1361', 'Z', 'F', 'A', '827', '2071', 'i', '6869', '6193']

SOLUTION:
l, U, Z, F, A, i, 7583, 8823, 419, 1361, 827, 2071, 6869, 6193