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:
['8483', 'i', '4619', '4427', '5069', '7591', '3907', '2137', 'H', 'Q', 'Z', '5591', 'i', '2141', '1775', '201', '1909', '1741', '3915', '3773', '41', '9661', '5061', '1643', '2313', 'u', 'Z']
answer:
i, H, Q, Z, i, u, Z, 8483, 4619, 4427, 5069, 7591, 3907, 2137, 5591, 2141, 1775, 201, 1909, 1741, 3915, 3773, 41, 9661, 5061, 1643, 2313


question:
['7643', '1863', 'D', '2397', 'Y', 'A', 'd', '8747', 'D', 'O', '7995', '8713', '2757', '3379', '5481', '3891', '6383', '8981', 'N', '2679', 'O', '5435', '5619', 'g', '4561', 'm', 'T', '2791', 'Q', '2441', '1601', 'K', '5897', '7117', '4835']
answer:
D, Y, A, d, D, O, N, O, g, m, T, Q, K, 7643, 1863, 2397, 8747, 7995, 8713, 2757, 3379, 5481, 3891, 6383, 8981, 2679, 5435, 5619, 4561, 2791, 2441, 1601, 5897, 7117, 4835


question:
['4295', '8659', '7699', 'n', 'P', 'S', '4137', '9599', 'O', '167', '2787', '8589']
answer:

n, P, S, O, 4295, 8659, 7699, 4137, 9599, 167, 2787, 8589