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: ['z', '8187', '4529', '1919', 'P', 'z', '1201', '1097', '6543', '3119', '2985', '9259', '2779', '1863', 'c', '361', '5583', '1255', 'Z', 'B', 'E', '4107', 'B', 't', '8595', 't', 't', '8349', 'Z', 'G', 't', 'U', 'M', '5879', '9917', '6685', '5647']

SOLUTION: z, P, z, c, Z, B, E, B, t, t, t, Z, G, t, U, M, 8187, 4529, 1919, 1201, 1097, 6543, 3119, 2985, 9259, 2779, 1863, 361, 5583, 1255, 4107, 8595, 8349, 5879, 9917, 6685, 5647

PROBLEM: ['O', 'f', 'C', '601', 'S', 'O', 'H', '6763', '1945', 'k', '3451', '4775', 'K', 'h', 'd', 'v', 'E', '7603', '5475', 'M', 'R', '2393', 'l', '3829', '9391', '2301', '9921']

SOLUTION: O, f, C, S, O, H, k, K, h, d, v, E, M, R, l, 601, 6763, 1945, 3451, 4775, 7603, 5475, 2393, 3829, 9391, 2301, 9921

PROBLEM: ['E', '3389', 'F', '1971', '6101', '9093', '5713', 'Z', 'a', 'b', '9821', 'Y', '4219', '3761', '7483', 'g', '8873', 'v', 'z', 'h', 's', 'X', 'W']

SOLUTION:
E, F, Z, a, b, Y, g, v, z, h, s, X, W, 3389, 1971, 6101, 9093, 5713, 9821, 4219, 3761, 7483, 8873