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:
['W', 'K', '8769', '1173', '1703', '125', 'v', '937', 'D', 'C', 'M', '8973', '6473', '1099', 'D', 'l', 'u']
answer:
W, K, v, D, C, M, D, l, u, 8769, 1173, 1703, 125, 937, 8973, 6473, 1099


question:
['1635', 'y', 'O', 'c', '5409', '9327', 'X', 'X', 'O', '5781', '675', 'Y', 'K', '4147', 'x', 'I', 'J', '8755', '6779', 'Y', 'u', 'F', 'i', 'p', 'T', '2503', '7883', '8253', 'A', 'T', 'g', '6165', '7995']
answer:
y, O, c, X, X, O, Y, K, x, I, J, Y, u, F, i, p, T, A, T, g, 1635, 5409, 9327, 5781, 675, 4147, 8755, 6779, 2503, 7883, 8253, 6165, 7995


question:
['5157', '9543', '6117', '4839', '1535', '2349', 'K']
answer:

K, 5157, 9543, 6117, 4839, 1535, 2349