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:
['l', '8853', 'P', 'u', '9699', '9401', 'X', '2757', 's', '4665', 'h', '7999', 'f', '2975', 'l', '3303', '3379', 'H', '8431', 'X', 'd', 'C', 'G', '8945', 'u']
answer:
l, P, u, X, s, h, f, l, H, X, d, C, G, u, 8853, 9699, 9401, 2757, 4665, 7999, 2975, 3303, 3379, 8431, 8945


question:
['597', '6047', 'c', 'B', 'Z', '9349', '561', '8815', '4407', 't', '4855', '7361', '5215', 'q', '9735', 'A', 'n', '4895', '7731', '4227', '9977', 'J', 'p', '6473', 'd', '9137', 'L', '745', 'C', 'T']
answer:
c, B, Z, t, q, A, n, J, p, d, L, C, T, 597, 6047, 9349, 561, 8815, 4407, 4855, 7361, 5215, 9735, 4895, 7731, 4227, 9977, 6473, 9137, 745


question:
['1079', 'n', 'z', 'L', '2729', 'r', 'd', '6933', '291', '4503', 'Q', '3257', '3483', 'M', '2827', 'W', 'f', 'F', '1177']
answer:

n, z, L, r, d, Q, M, W, f, F, 1079, 2729, 6933, 291, 4503, 3257, 3483, 2827, 1177