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:
['D', 'r', '4449', 'Z', '5365', '1', 'O', 'S', 'A', '9963', '3923', '7051', '8531', '2529', 'E', '1319', '6455', '593', 'N', 'M', 'O']
answer:
D, r, Z, O, S, A, E, N, M, O, 4449, 5365, 1, 9963, 3923, 7051, 8531, 2529, 1319, 6455, 593


question:
['k', 'Z']
answer:
k, Z


question:
['1381', '5593', '9421', '6935', 'Z', '9723', 'N', '4981', 'D', 'M']
answer:

Z, N, D, M, 1381, 5593, 9421, 6935, 9723, 4981