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:
['q', 'Y', '6597', '6127', '8955']
answer:
q, Y, 6597, 6127, 8955


question:
['H', '8371', 'D', 'p', '7145', 'f', '1423', 'L', '9495', '5085', 'B', '973', 'z', '4571', '1541', '9771', '7531', 'E', 'n', '1583', 'S', '8133', '307', 'Q', 'q', 'h', '4615', 'N', 'h', '6415', '9517', 'R']
answer:
H, D, p, f, L, B, z, E, n, S, Q, q, h, N, h, R, 8371, 7145, 1423, 9495, 5085, 973, 4571, 1541, 9771, 7531, 1583, 8133, 307, 4615, 6415, 9517


question:
['4811', 'M', '5565', '2263', '6561', '9327', '9883', '4891', '7219', '9461', 'P', 'D', 'M', '6459', '5549', 'X', '4453']
answer:

M, P, D, M, X, 4811, 5565, 2263, 6561, 9327, 9883, 4891, 7219, 9461, 6459, 5549, 4453