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:
['x', 'u', '6687', '3617', '4795', '3665', 'A', '4355', '9183', '3477', 'B', 'P', 't', 'L', 'G', 'o', 'c', 'U', 'n', '1453', '2499', 'B', 's', 'd', 'm', 'n', '959', 'K', 'H', '9159', 'H', '8191', 'B', '4837', '9287', '7891', '8529', '3229', '377']
answer:
x, u, A, B, P, t, L, G, o, c, U, n, B, s, d, m, n, K, H, H, B, 6687, 3617, 4795, 3665, 4355, 9183, 3477, 1453, 2499, 959, 9159, 8191, 4837, 9287, 7891, 8529, 3229, 377


question:
['5517', 'D', '4687', '7619', 'L', '6063', 'Z', 'v', '411', 'f', '8321', 'S', '7131', '5297', 'S', '2445', 'l', 'z', 'Z', 'D', 'j', '2007', 'f', '3147', '3659', '2051']
answer:
D, L, Z, v, f, S, S, l, z, Z, D, j, f, 5517, 4687, 7619, 6063, 411, 8321, 7131, 5297, 2445, 2007, 3147, 3659, 2051


question:
['s', 'u', '4193', 'n', 't', 'T', '7167', '3433', 'E', 'g', 'z', '2649', 'S']
answer:

s, u, n, t, T, E, g, z, S, 4193, 7167, 3433, 2649