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: ['P', 'B', 'N', '8793', 'Z', 'j', '4167', 'a', '1309', 'W', '8209', '6547', '429', '2963', 'U', '6371', 'T', 'G', '9851', 'r', '2291', '8565', '7789', 'w', '4303', 'B', '9819', 'x', 'j', 'b', '3009', 'a', '3403', '7503', 'e', '4675', 'V', 'H', 'k']

SOLUTION: P, B, N, Z, j, a, W, U, T, G, r, w, B, x, j, b, a, e, V, H, k, 8793, 4167, 1309, 8209, 6547, 429, 2963, 6371, 9851, 2291, 8565, 7789, 4303, 9819, 3009, 3403, 7503, 4675

PROBLEM: ['O', '9391', '8799', 'm', 'b', '6413', '8769', '1143', 'y', 'b', 'e', '759', 'h', 'i', 'M', 'y', 'S', '1601', 'j', 'X', '9447', 'U', 'v']

SOLUTION: O, m, b, y, b, e, h, i, M, y, S, j, X, U, v, 9391, 8799, 6413, 8769, 1143, 759, 1601, 9447

PROBLEM: ['1467', '1', '7571', '1331', 'L', 'k', 'E', 'm', 'q', 'B', '6451', '8315', 'W', 'q', 'z']

SOLUTION:
L, k, E, m, q, B, W, q, z, 1467, 1, 7571, 1331, 6451, 8315