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: ['B', '8107', '9083', 'B', '9897', 'a', 'Q', 'k', 'C', 'e', '4681', '5411', '3143', 'j', '835', 'b', 'C', 'H', '3295', '8187', 'z', 'N', '947', '1395', '6893', 'R', 'J', '3361', 'x', '6389']

Answer: B, B, a, Q, k, C, e, j, b, C, H, z, N, R, J, x, 8107, 9083, 9897, 4681, 5411, 3143, 835, 3295, 8187, 947, 1395, 6893, 3361, 6389


Question: ['g', '6307', '3781']

Answer: g, 6307, 3781


Question: ['o', 'L', 'z', 'I', '795', 'G', '7965', '2723', 'b', '6627', 'H', '3647', '4223', 'N', 'E', '1795', 'T', 'c', '6377', 'D', 'M', 'V', 'A', 'S', '7977', 'f', '1251', '9369', 'U', 't', '9663', '9745', '5617', '4555', 'A', 'b', 'u', 'P', '5047', '3883']

Answer:
o, L, z, I, G, b, H, N, E, T, c, D, M, V, A, S, f, U, t, A, b, u, P, 795, 7965, 2723, 6627, 3647, 4223, 1795, 6377, 7977, 1251, 9369, 9663, 9745, 5617, 4555, 5047, 3883