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: ['7171', 'N', '463', 'w', 'd', 'T', '7361', 'C', 'n', 'Y', 'x', '5805', 'K', '9973', 'X', '6789', '2683', 'p', 'X', 's', '3335', 'N', 'c', '4319', '6047', 'r', '4847', '3493', '2195', 'e', 'G', 'G', 'k', 'w', '4969', 'g']

SOLUTION: N, w, d, T, C, n, Y, x, K, X, p, X, s, N, c, r, e, G, G, k, w, g, 7171, 463, 7361, 5805, 9973, 6789, 2683, 3335, 4319, 6047, 4847, 3493, 2195, 4969

PROBLEM: ['l', 'O', 'F', '6491', 'I', 'n', 'c', 't', '2227', 'S', 'd', '8445', '7269', '85', '9093', '7887', '2341']

SOLUTION: l, O, F, I, n, c, t, S, d, 6491, 2227, 8445, 7269, 85, 9093, 7887, 2341

PROBLEM: ['N', 'p', '1373', '7203', 'J', 'n', '8367', 'n', '2737', 'L', '7217', 'K', '8261', 'k', 'f', '7955', '1067']

SOLUTION:
N, p, J, n, n, L, K, k, f, 1373, 7203, 8367, 2737, 7217, 8261, 7955, 1067