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:
['D', '8577', '7971', 'x', 'm', '8323', 'T', '5257', '3341', '3963', '7895', '1465', '1987', '9909', 'o', '245']
answer:
D, x, m, T, o, 8577, 7971, 8323, 5257, 3341, 3963, 7895, 1465, 1987, 9909, 245


question:
['3817', 'N', 'W', '899', 'x', '4289', '1449', 'd', 'u', 'd', '1273', 'm', 'k', 'Q', 'A', '1679', 'V', '3709', 'y', 'L']
answer:

N, W, x, d, u, d, m, k, Q, A, V, y, L, 3817, 899, 4289, 1449, 1273, 1679, 3709