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: ['g', '6655', '5205', '9691', '2187', '2107', '3989', '2683', '4449', 'c', 'w', 'X', 'F', 'e', '7205', 'A', '4927', 'K', '7967', 'd', 'C', 'l', 'i', '941', 'T', '8779', 'X', 'q', 'e', '675', '2565', '8849', '4991', 'u', '7687', 'f', 'f', 'S', 'E', '2451']

SOLUTION: g, c, w, X, F, e, A, K, d, C, l, i, T, X, q, e, u, f, f, S, E, 6655, 5205, 9691, 2187, 2107, 3989, 2683, 4449, 7205, 4927, 7967, 941, 8779, 675, 2565, 8849, 4991, 7687, 2451

PROBLEM: ['M', '5785', 'N', 'n', 'Q', '7145', '7247', 'w', '4877', '9477', 'z', 'i', 'T', 'D', '4815', 'd', 'X', 'V', '3411', 'a', 'J', 'v', '5259', 'C', 'z', 'w', '99', '2905', '2897', 'k', '6537', 's', 'q', 'W', '5537', 'K']

SOLUTION: M, N, n, Q, w, z, i, T, D, d, X, V, a, J, v, C, z, w, k, s, q, W, K, 5785, 7145, 7247, 4877, 9477, 4815, 3411, 5259, 99, 2905, 2897, 6537, 5537

PROBLEM: ['2605', 'L', '7173', '9059', '8075', 'e', '6681', '5305', 'B', '659', 'V']

SOLUTION:
L, e, B, V, 2605, 7173, 9059, 8075, 6681, 5305, 659