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: ['G', 'K', '1133', '6159', 'j', '5883', '4315', 'a', 'J', 'Z', '2173', 'C', '6155']

SOLUTION: G, K, j, a, J, Z, C, 1133, 6159, 5883, 4315, 2173, 6155

PROBLEM: ['1947', '3401', '2405', '3479', '7465', '2927', '2821', '7679', 'g', '747', '7495', '9387', 'y', '8247', '6695', 'H', 'd', '4603', '5835', 'j', '9599', 'X', '2115', '8407', 'O', 'b', '7561']

SOLUTION:
g, y, H, d, j, X, O, b, 1947, 3401, 2405, 3479, 7465, 2927, 2821, 7679, 747, 7495, 9387, 8247, 6695, 4603, 5835, 9599, 2115, 8407, 7561