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:
['G', 'j', '4971', '6923', '961', 'a', 'U', '3943', '6291', 'f', 'w', 'U', '5505', 'Y', '2691', 'u', 'U', '37', 'b', 'i', 'a', 'j', 'w', '5023', '7501', 'q', '8535', 'J', 'q', 'd', '8981', 'X']
answer:
G, j, a, U, f, w, U, Y, u, U, b, i, a, j, w, q, J, q, d, X, 4971, 6923, 961, 3943, 6291, 5505, 2691, 37, 5023, 7501, 8535, 8981


question:
['P', 'D', '199', '8721', '9133', 'b', 'i', '4041', 'l', '2799', '5949', '2191', '7095', '4573', 'h', '1561', 'k', 'J', 'a', 'O', '5877', '5109', 'X', '2253', '4381', 'S', '3609', '4219', 'Y', 'L', '9165', '1911', '861', '8627']
answer:
P, D, b, i, l, h, k, J, a, O, X, S, Y, L, 199, 8721, 9133, 4041, 2799, 5949, 2191, 7095, 4573, 1561, 5877, 5109, 2253, 4381, 3609, 4219, 9165, 1911, 861, 8627


question:
['5921', 'k', 'y', '4501', '7781', 'X', '9597', '1041', '2177', '4283', '9559', '7265', '9513', 'X', '4387', '8889', '5311', 'N', '8139', '2495', '1407', '3363', 'O', 'W', 'R', 'N', '1875', 'm', '537', 'Q', 'J', 'l', '6285', 'x', '8549', 't']
answer:

k, y, X, X, N, O, W, R, N, m, Q, J, l, x, t, 5921, 4501, 7781, 9597, 1041, 2177, 4283, 9559, 7265, 9513, 4387, 8889, 5311, 8139, 2495, 1407, 3363, 1875, 537, 6285, 8549