instruction:
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:
['r', 'g', '5847', '329', '6267']
answer:
r, g, 5847, 329, 6267


question:
['3569', 'Y', '531', 'q', 'F', 'm', 't', 'L', '3413', 'q', 'G', 'C', 'C', 'g', 'N', '8185', 'E', 'y', 'e']
answer:
Y, q, F, m, t, L, q, G, C, C, g, N, E, y, e, 3569, 531, 3413, 8185


question:
['193', '3183', '2675', 'Z', '6029', 'b', '4829', 'Z', '9967', 'b', '1469', 'D', 'Q', '43', 'M', '9543', '7815', '5493', '8221']
answer:

Z, b, Z, b, D, Q, M, 193, 3183, 2675, 6029, 4829, 9967, 1469, 43, 9543, 7815, 5493, 8221