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:
['3547', '9563', '85', '1897', 'g', '2449', '7801', '8531', '4719', 'N', '63', '4227', '7751', 'R', '127', '3839', 'P', '9783', '8499', '9205', 'X', 'e', '5773', 'v', '3279', '9471', 'j', 'W', '4587', '3001', 'd', '6931', 'S', '1503', '1077']
answer:
g, N, R, P, X, e, v, j, W, d, S, 3547, 9563, 85, 1897, 2449, 7801, 8531, 4719, 63, 4227, 7751, 127, 3839, 9783, 8499, 9205, 5773, 3279, 9471, 4587, 3001, 6931, 1503, 1077


question:
['9829', '5959', '1309', 'p', 'e', '4643', '5113', 'Z', '8103', 'f', 'p', 'B', 'D', '5305', 'U', '1867', 'r', 'K', '5249', 'w', 'Z', 'y', 'O', 'b', 'F', '9713', 'F', 'Z', 'l', '4163', '7839', '9779', '4343', 'A']
answer:
p, e, Z, f, p, B, D, U, r, K, w, Z, y, O, b, F, F, Z, l, A, 9829, 5959, 1309, 4643, 5113, 8103, 5305, 1867, 5249, 9713, 4163, 7839, 9779, 4343


question:
['W', 'X', '3481', '1521', '3695', '9707', 'D', '3939', 'm', '699', 'q', 'U', 'N', '8845', 'J', 'U', '5487', 'u', '6075', '1949', 'b', '2877', 'r', '8805', '4435', '7681', 'r', '8797', '3807', 's', '7109', 'M', '6921', '805', '421', '8019', '919', '7513']
answer:

W, X, D, m, q, U, N, J, U, u, b, r, r, s, M, 3481, 1521, 3695, 9707, 3939, 699, 8845, 5487, 6075, 1949, 2877, 8805, 4435, 7681, 8797, 3807, 7109, 6921, 805, 421, 8019, 919, 7513