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.
--------
Question: ['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']

Answer: 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


Question: ['3061', 'M', '3839', 'q', '8167', 't', '7843', 'X', 'H', '5455', '5453', 'n', 'Q', 'G', 'c', 'J', '6119', 'i', '1957', '2635', 'n', '3189', '9591', '9559', '6021', 'Z', 'W', '7733', '4401', '7353', '6995', '771', 'G', 'v', 'z', 'v']

Answer: M, q, t, X, H, n, Q, G, c, J, i, n, Z, W, G, v, z, v, 3061, 3839, 8167, 7843, 5455, 5453, 6119, 1957, 2635, 3189, 9591, 9559, 6021, 7733, 4401, 7353, 6995, 771


Question: ['n', '6949', '7315', '6251', '8747', '9707', 'e', 'M', 'z', 'e', 'e', 'i', '1701', '9569', '8249', '5217', '4311', 'V', 'Z', '9787', '1037', '4021']

Answer:
n, e, M, z, e, e, i, V, Z, 6949, 7315, 6251, 8747, 9707, 1701, 9569, 8249, 5217, 4311, 9787, 1037, 4021