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:
['9731', 'W', '5347', '8895', 'Y', 'H', 'X', '207', 'a', '9737', 'q', 'q', '1717', 'Y', '2329', '427', '5513', '905', 'r', 'H', 'S', '5043', 'c', 'E', '7305', 'r', '2043', 'w']
answer:
W, Y, H, X, a, q, q, Y, r, H, S, c, E, r, w, 9731, 5347, 8895, 207, 9737, 1717, 2329, 427, 5513, 905, 5043, 7305, 2043


question:
['e', 'b', '7265', 'K', '9419', '2933', 's', 'e', '8667', '6513', '7981', 'E', '3581', 'G', '2255', '9305', 'U', 'b', '2901', '9257', 'X', '9243', '4889', 'y', '9499', '6817', 'j', '295']
answer:
e, b, K, s, e, E, G, U, b, X, y, j, 7265, 9419, 2933, 8667, 6513, 7981, 3581, 2255, 9305, 2901, 9257, 9243, 4889, 9499, 6817, 295


question:
['3267', '1945', '7661', '2293', '147', 'd', '8785', 'M', '881', '9761', 'w', 'J', 'B', 'L', 'e', '9163', 'J', 'c', '2009', 'N', 'b', '7513', '4529', 'S']
answer:

d, M, w, J, B, L, e, J, c, N, b, S, 3267, 1945, 7661, 2293, 147, 8785, 881, 9761, 9163, 2009, 7513, 4529