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', 'r', '2509', 'P', '1789', 'Z', '3021', '8203', 'V', 'K', '4709', 'd', 'u', '17', 'B', '6569', 'P', '4831']
answer:
L, r, P, Z, V, K, d, u, B, P, 2509, 1789, 3021, 8203, 4709, 17, 6569, 4831


question:
['9829', '5959', '1309', 'p', 'e', '4643', '5113', 'Z', '8103', 'f', 'p', 'B', 'D', '5305', 'U', '1867', 'r', 'K', '5249', 'w', 'Z', 'y', 'O', 'b', 'F', '9713', 'F', 'Z', 'l', '4163', '7839', '9779', '4343', 'A']
answer:
p, e, Z, f, p, B, D, U, r, K, w, Z, y, O, b, F, F, Z, l, A, 9829, 5959, 1309, 4643, 5113, 8103, 5305, 1867, 5249, 9713, 4163, 7839, 9779, 4343


question:
['w', 'K', 'B', 'A', '7561', '5497', 'Z', 'a', 'o', '4649', 'a', 'B', 'F', '8721', '5713', '9215', '6065', '5583']
answer:

w, K, B, A, Z, a, o, a, B, F, 7561, 5497, 4649, 8721, 5713, 9215, 6065, 5583