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:
['8665', 'e', '1109', 'R', 'N', 'P', 'y', 'S', '6459', '8123', 'j', 'e', 'f', '1329', 'Y', '5399', 'q', '7371', 'd', '7787', '657', '391', '9143', '3321', 'Q', '2167', '2587', '8189', 'W', 'e']
answer:
e, R, N, P, y, S, j, e, f, Y, q, d, Q, W, e, 8665, 1109, 6459, 8123, 1329, 5399, 7371, 7787, 657, 391, 9143, 3321, 2167, 2587, 8189


question:
['n', '7651', 'l', '1629', 'w', '1795', '1237', '1201', '861', '9627', '1403', '5641', '5905', 'h', '9585', '9561', '6387', '9037', '1643', '4759', '4749']
answer:
n, l, w, h, 7651, 1629, 1795, 1237, 1201, 861, 9627, 1403, 5641, 5905, 9585, 9561, 6387, 9037, 1643, 4759, 4749


question:
['277', 'S', '2697', 'L', '7371', 'C', '3031', 'q', 'l', 'g', 'i', 'B', '9799', '6245', '7701', '4795', 'r', '6305', 'R', 'N', 'n', '2129', '5025', 'C', '3805', 'K']
answer:

S, L, C, q, l, g, i, B, r, R, N, n, C, K, 277, 2697, 7371, 3031, 9799, 6245, 7701, 4795, 6305, 2129, 5025, 3805