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: ['8003', '8073', 'B', '7411', '343', 'D', '1267', 'Z', '5607', '9855', '7531', 'r', '1823', '4457', 'l', '779', '7941', '8299', '1977', '4861', 'v', 'Y', 'l', 'p', '9579', '8353', 'E', '5859', '5731', '3899', 'q', 'e', '1609']

SOLUTION: B, D, Z, r, l, v, Y, l, p, E, q, e, 8003, 8073, 7411, 343, 1267, 5607, 9855, 7531, 1823, 4457, 779, 7941, 8299, 1977, 4861, 9579, 8353, 5859, 5731, 3899, 1609

PROBLEM: ['J', 'o', 'u', '8973', 'x', 'U', '7579', '8181', 'I', 'b', '2851', 'e', '7695', 'N', 'E', 'A', '6085', 'n', '1039', 'y', '2549', 'N', 'H', '4509', 'g', '3735', 'm', 'B', '6261', '9175', 'p', 'J', 'f', 't', 'v', '1943', 'h', 'c', '8217']

SOLUTION: J, o, u, x, U, I, b, e, N, E, A, n, y, N, H, g, m, B, p, J, f, t, v, h, c, 8973, 7579, 8181, 2851, 7695, 6085, 1039, 2549, 4509, 3735, 6261, 9175, 1943, 8217

PROBLEM: ['g', 'J', 'c', '8291', '1623', '1045', '8921', 'f', 'g', 'O', '1833', '7853', '6967', 'B', '49', '7235']

SOLUTION:
g, J, c, f, g, O, B, 8291, 1623, 1045, 8921, 1833, 7853, 6967, 49, 7235