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:
['8831', '9289', '1655', '673', '7449', 't', 'L', '6689', '3789', '7409', 'g', '7683', 'Y', 'c', '5203', 'e', '207', 'M', 'k', 'X', '787']
answer:
t, L, g, Y, c, e, M, k, X, 8831, 9289, 1655, 673, 7449, 6689, 3789, 7409, 7683, 5203, 207, 787


question:
['5921', 'o', 'O', '4171', '8335', 'q', 'i', '2673', 'V', '3283', 'C', 'L', 'c', '3601', '9257', '2023', 'N', '209', '7467', 'P', '1991', 'p', 's', '8409', '4427', '4525', 'i', 'P', 'P', '8817', '4067', '6473', '1079']
answer:
o, O, q, i, V, C, L, c, N, P, p, s, i, P, P, 5921, 4171, 8335, 2673, 3283, 3601, 9257, 2023, 209, 7467, 1991, 8409, 4427, 4525, 8817, 4067, 6473, 1079


question:
['g', '3701', 'b', '1319', '6877', '605', 'i', 'r', 'Q', 'b', 'O', 'z', 'g', 'H', '8189', 'M', 'o', '5583', 'm', '1355', '7893', '5113', '6071', '3071', '7331', 'n', 'L', '5299', '1309', '1581', 'C', '5849', 'e', '4159', '1539', 'T', '1777', 'b', 'F', '6095']
answer:

g, b, i, r, Q, b, O, z, g, H, M, o, m, n, L, C, e, T, b, F, 3701, 1319, 6877, 605, 8189, 5583, 1355, 7893, 5113, 6071, 3071, 7331, 5299, 1309, 1581, 5849, 4159, 1539, 1777, 6095