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: ['r', '9459', 'K', 'c', 'W', '3237', '7073', 'Q', 'k', '7663', 'A', '7353', '5791', 'N', 'O', 'S', '2749', '8337', '2273', '6549', 'K', '1713', 'g', '2295', 'w', 'z', 'g', '1551', '1249', 'a', '8717', '5983', '3837', '1607', '8131']

SOLUTION: r, K, c, W, Q, k, A, N, O, S, K, g, w, z, g, a, 9459, 3237, 7073, 7663, 7353, 5791, 2749, 8337, 2273, 6549, 1713, 2295, 1551, 1249, 8717, 5983, 3837, 1607, 8131

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: ['A', '6807']

SOLUTION:
A, 6807