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: ['Y', '1979', 'c', 'A', 'Y', 'i', 'B']

SOLUTION: Y, c, A, Y, i, B, 1979

PROBLEM: ['4223', 'a', '3161', '6925', '1553', 'y', '3481', 't', '5731', 'p', '5449', 'O', '1149', '6769', '2679']

SOLUTION: a, y, t, p, O, 4223, 3161, 6925, 1553, 3481, 5731, 5449, 1149, 6769, 2679

PROBLEM: ['1083', '6545', '463', 'Z', 'I', 'D', '8765', '7369', '1315', '9065', 'M', '3211', 'P', 'v', '7033', '5881', '5249', 't', '3411', '1271', '559', '8407', 'N', '7027', '9755', 'X', 'e', 'E', '5303', 'e', 'y', 'n', '1693', 'p', '3895', '8211', 'I', '1907', 'O']

SOLUTION:
Z, I, D, M, P, v, t, N, X, e, E, e, y, n, p, I, O, 1083, 6545, 463, 8765, 7369, 1315, 9065, 3211, 7033, 5881, 5249, 3411, 1271, 559, 8407, 7027, 9755, 5303, 1693, 3895, 8211, 1907