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', '4095', '8787', '8963', 'O', 'a', '819', 'u', '6877', '6687', '3987', '297', '5095', 'l', '1103', '1579', 'h', 'y', 'f', 'k', 'I', 'C', 'G', 'O', '39', 'R', '7597', '2981']

SOLUTION: f, O, a, u, l, h, y, f, k, I, C, G, O, R, 4095, 8787, 8963, 819, 6877, 6687, 3987, 297, 5095, 1103, 1579, 39, 7597, 2981

PROBLEM: ['c', '8771', 't', 'e', '8875', 'q']

SOLUTION: c, t, e, q, 8771, 8875

PROBLEM: ['63', 'A', '8837', 'X', 'f', '3019', '151', 'f', '4817', '2353', 'o', '7913', 'q', 'I', 'K', '6927', 'X', '2955', '6391', 'L', 'p', '1677', 'f', 'n', '4525', 's', '1531', 'E', 'N', 'a', 'j', '927', '2875', 'W', '9561', '9181', 'P', '6969', '8999']

SOLUTION:
A, X, f, f, o, q, I, K, X, L, p, f, n, s, E, N, a, j, W, P, 63, 8837, 3019, 151, 4817, 2353, 7913, 6927, 2955, 6391, 1677, 4525, 1531, 927, 2875, 9561, 9181, 6969, 8999