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:
['405', '2287', '9671', '5581', 'S', 'W', 'a', 'I', '5965', '5165', '6109', 'C', 'O', '8787', '141', '8211', 'm', 'f', 'g', 'Z', '9305', 'D', 'N', '193', 'D', '419', '7545']
answer:
S, W, a, I, C, O, m, f, g, Z, D, N, D, 405, 2287, 9671, 5581, 5965, 5165, 6109, 8787, 141, 8211, 9305, 193, 419, 7545


question:
['5127', '2471', 'W', 'i', '5941', 'H', 'V', 'M', 'V', '2581', '8199', '5679', 't', '7669', 'E', 'e', 'P', '3317', '8789', 'd', 'f']
answer:
W, i, H, V, M, V, t, E, e, P, d, f, 5127, 2471, 5941, 2581, 8199, 5679, 7669, 3317, 8789


question:
['3155', 'p', 'X', 'C', 'a', 'S', 'K', '6157']
answer:

p, X, C, a, S, K, 3155, 6157