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: ['F', 'M', '7785', 'K', 'o', 'k', 'E', '6399', 'R', '7269', 'a', 'b', 'K', '9663', 'g', 'l', 'Z', 'i', '5817', '8933', '8171', 'l', '715', '703', 'a', '3603', 'N', '7361', 'a', '6225', 'O', 'B', '1295', '8469']

SOLUTION: F, M, K, o, k, E, R, a, b, K, g, l, Z, i, l, a, N, a, O, B, 7785, 6399, 7269, 9663, 5817, 8933, 8171, 715, 703, 3603, 7361, 6225, 1295, 8469

PROBLEM: ['c', 'z', 'I', 'F', 'q', 'b', '537', '9541', 'f', '2183', 'O', 'E', '5539', '1041', 'F', '8297', 'e', '5447', '4593', 'D', '3317', '2469', '4043', 'L', 'i', '23', 'Q', 'P', 'C', '1939', 'h', '5293', '7959', 'm', '1863', 'o', '9637', '5609', 's']

SOLUTION: c, z, I, F, q, b, f, O, E, F, e, D, L, i, Q, P, C, h, m, o, s, 537, 9541, 2183, 5539, 1041, 8297, 5447, 4593, 3317, 2469, 4043, 23, 1939, 5293, 7959, 1863, 9637, 5609

PROBLEM: ['i', '5587', '7167', 'g', '7233', '1569', 'f', 'A', 'K', 'w', '8523', 'Y', 'I', '2843', '9891', 'P', 'X', 'a', 'B', '537', 'w', 'z', 'Y']

SOLUTION:
i, g, f, A, K, w, Y, I, P, X, a, B, w, z, Y, 5587, 7167, 7233, 1569, 8523, 2843, 9891, 537