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:
['8983', '3387', 'A', '7837', '5923', 'f', 'G', '2929', '4447', '8045', 'h', '1391', '8899', 'P', 'K', '2027', '1473', '3891', '1059', 'o', 'f', 'k', '6831', 'o', 'M']
answer:
A, f, G, h, P, K, o, f, k, o, M, 8983, 3387, 7837, 5923, 2929, 4447, 8045, 1391, 8899, 2027, 1473, 3891, 1059, 6831

question:
['n', '4645', 't', 'A', '5319', 'e', '9771', '9493', '3891', '3385', 'Y', '523', 'L', 'k', '4211', 'b', '2273', 'A', 'v', 'D', '6079', '823', 'c', '989', '3477', 'c', '8799', '7277', 'y', 'p', '2709']
answer:
n, t, A, e, Y, L, k, b, A, v, D, c, c, y, p, 4645, 5319, 9771, 9493, 3891, 3385, 523, 4211, 2273, 6079, 823, 989, 3477, 8799, 7277, 2709

question:
['4345', '7271', '9075', '737', '1395', '7249', 'K', 'K', 'U', 'S', '6495', 'h', 'E', '2551', 'u', 'P', '601', '4051', 'b', '537', '7705', '6761', '6771', 'b', '7127', 'o', '3619', 'L', 'k', 'n', 'V', '4453', 's', 'b', '8941', 'h', 'X', 'T']
answer:
K, K, U, S, h, E, u, P, b, b, o, L, k, n, V, s, b, h, X, T, 4345, 7271, 9075, 737, 1395, 7249, 6495, 2551, 601, 4051, 537, 7705, 6761, 6771, 7127, 3619, 4453, 8941