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: ['9083', '4969', 'P', '3831', 'q', 'o', 'Z', 'H', 'H', '5829', 'L', 'q', 'l', 'W', '1787', '1507', 'A', '5693', 'i', '889', '3445', '2437', '6987', '3987', '4551', '4723', '655', 's', 'P']

SOLUTION: P, q, o, Z, H, H, L, q, l, W, A, i, s, P, 9083, 4969, 3831, 5829, 1787, 1507, 5693, 889, 3445, 2437, 6987, 3987, 4551, 4723, 655

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: ['q', 'k', '3505', '6369', '2951', '5957', '5429', '5019', '9779', 'q', '4989', 'C', '7557', 'p', 'S', '2077', '4949']

SOLUTION:
q, k, q, C, p, S, 3505, 6369, 2951, 5957, 5429, 5019, 9779, 4989, 7557, 2077, 4949