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:
['g', '5519', '3883', '8625', 'c', '9117', 'j', 'k', 'w', '6131', 'D', 'E', '1973', 'm', 'I', 'm', '1701']
answer:
g, c, j, k, w, D, E, m, I, m, 5519, 3883, 8625, 9117, 6131, 1973, 1701


question:
['1177', '4739', 'W', 'M', '8895', '7313', '5197', '6097', '1583', 'g', '2001', 'c', '771', 'j', 'Y', 'K', '1007', '8887', '2173', '3737', '5797', 'H', '2031', '793', '5971', '6097', 'p', 'L', 'm', '7947', 'l', 'K', '1263', 'l', 'i', '8437', 'U', 'A']
answer:
W, M, g, c, j, Y, K, H, p, L, m, l, K, l, i, U, A, 1177, 4739, 8895, 7313, 5197, 6097, 1583, 2001, 771, 1007, 8887, 2173, 3737, 5797, 2031, 793, 5971, 6097, 7947, 1263, 8437


question:
['3983', 'K', '7659', 'f', '2235', 'D', 'O', '4195', '6505', 'Y', 'f', '541', 'f', 'K', '5357', 'i', 'v', '433', 's', '9505', '3651', 'b', 'V', 'B', '999', 'z', 'i']
answer:

K, f, D, O, Y, f, f, K, i, v, s, b, V, B, z, i, 3983, 7659, 2235, 4195, 6505, 541, 5357, 433, 9505, 3651, 999