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: ['x', 'u', '6687', '3617', '4795', '3665', 'A', '4355', '9183', '3477', 'B', 'P', 't', 'L', 'G', 'o', 'c', 'U', 'n', '1453', '2499', 'B', 's', 'd', 'm', 'n', '959', 'K', 'H', '9159', 'H', '8191', 'B', '4837', '9287', '7891', '8529', '3229', '377']

SOLUTION: x, u, A, B, P, t, L, G, o, c, U, n, B, s, d, m, n, K, H, H, B, 6687, 3617, 4795, 3665, 4355, 9183, 3477, 1453, 2499, 959, 9159, 8191, 4837, 9287, 7891, 8529, 3229, 377

PROBLEM: ['L', 'h', '7079', 's', '8177', 'd', '9073', 'D', '6947', 'V', '9663', '3569', '465', 's', 'C', 'N', '33', '4715', 'P', 'L', 'E', 'a', 'N', 'p', '2963', '169', '327', '4855', '9431', '9293', 'K', '3049', 'F', 'w', 'P', '8415', 'n', 'l', 'T']

SOLUTION: L, h, s, d, D, V, s, C, N, P, L, E, a, N, p, K, F, w, P, n, l, T, 7079, 8177, 9073, 6947, 9663, 3569, 465, 33, 4715, 2963, 169, 327, 4855, 9431, 9293, 3049, 8415

PROBLEM: ['3881', '4529', '6641', 'e', 'o', 'D', 'M', '5465', '2627', '3659', 'b', 'q', '4627', 'C', '6281', 's', 'B', '5713', 'm', 'O', '9979']

SOLUTION:
e, o, D, M, b, q, C, s, B, m, O, 3881, 4529, 6641, 5465, 2627, 3659, 4627, 6281, 5713, 9979