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: ['g', 'b', 'z']

Answer: g, b, z


Question: ['n', '5329', '7635', 'D', 'D', 'Y', '3097', 'Q', 'S', 'e', '4525', '5485', '6717', 'q', '7315', 'X', '8971', 'd', 'M', '407', '4931', 'o', '139']

Answer: n, D, D, Y, Q, S, e, q, X, d, M, o, 5329, 7635, 3097, 4525, 5485, 6717, 7315, 8971, 407, 4931, 139


Question: ['R', '5167', '5195', 'P', '3755', '4715', 'u', '6713', 'P', 'B', '869', 'c', 'i', '6147', '7001', 'r', '3355', 'U', 'A', 'm', '4777', '4365', 'Z', '4183', 'C', '2769', '3315', '5899', '9155', '9269', 'u', 'W', 'e', 'A']

Answer:
R, P, u, P, B, c, i, r, U, A, m, Z, C, u, W, e, A, 5167, 5195, 3755, 4715, 6713, 869, 6147, 7001, 3355, 4777, 4365, 4183, 2769, 3315, 5899, 9155, 9269