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:
['v', 'p', 'd', 'D', 'u', '8905', '4031', 'x', 'i', '2727', 'F', 'i', '4877', '6781', '433', 'c', 'q', 'X', 'G', 'u', '6155', '4239', '9599', 'c', '165', '39', '9491', 'y', 'x', '8959', 'S', '3145']
answer:
v, p, d, D, u, x, i, F, i, c, q, X, G, u, c, y, x, S, 8905, 4031, 2727, 4877, 6781, 433, 6155, 4239, 9599, 165, 39, 9491, 8959, 3145


question:
['H', '8371', 'D', 'p', '7145', 'f', '1423', 'L', '9495', '5085', 'B', '973', 'z', '4571', '1541', '9771', '7531', 'E', 'n', '1583', 'S', '8133', '307', 'Q', 'q', 'h', '4615', 'N', 'h', '6415', '9517', 'R']
answer:
H, D, p, f, L, B, z, E, n, S, Q, q, h, N, h, R, 8371, 7145, 1423, 9495, 5085, 973, 4571, 1541, 9771, 7531, 1583, 8133, 307, 4615, 6415, 9517


question:
['1721', '6287', 'W', '1039', 'g']
answer:

W, g, 1721, 6287, 1039