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:
['5485', 'w', '7935', '1983', '2113', '4279', '4977', 'M', 'h', '1629', '6241', '5985', 'e', '8249', '477', '1569', '9565', 'J', '8615', 's', 'i', 'z', '4129', '5901', 't', 'R', 'M', '9927', '9253', 'd', '3571', '4179']
answer:
w, M, h, e, J, s, i, z, t, R, M, d, 5485, 7935, 1983, 2113, 4279, 4977, 1629, 6241, 5985, 8249, 477, 1569, 9565, 8615, 4129, 5901, 9927, 9253, 3571, 4179


question:
['W', '4017', 'E', 'G', 'Q', 'W', 'A', 'w', '3995', '7697', '801', 'T', '4419', '3739', 'd', '6419', 'v', 'd', '7459', 'X', '883', 'm', '4587', 'h', '9121', 'H', 'n', '6485']
answer:
W, E, G, Q, W, A, w, T, d, v, d, X, m, h, H, n, 4017, 3995, 7697, 801, 4419, 3739, 6419, 7459, 883, 4587, 9121, 6485


question:
['s', 'R', '5665', 'm', '2001', 'h', '2117', 'X', '453', 'S', '5799', '911', '7823', 'v', 'Z', '7171', 'l', 'p', '6701', 't', 'a', 'Y', '873', '2811', 'Y', '9533', '4317', 'Q', 'N', '2099', 'R', 'U', 'e', 'L', '9503', 'n', 'w', '7289', '1289']
answer:

s, R, m, h, X, S, v, Z, l, p, t, a, Y, Y, Q, N, R, U, e, L, n, w, 5665, 2001, 2117, 453, 5799, 911, 7823, 7171, 6701, 873, 2811, 9533, 4317, 2099, 9503, 7289, 1289