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', '6987', '9279', 'c', 'A', '9533', 'X', '8511', 's', 'O', 'i', 'a', '4939']
answer:
P, c, A, X, s, O, i, a, 6987, 9279, 9533, 8511, 4939


question:
['t', 'i', 'o', '4397', '7643', '741', 'W', 'y', '9375', 'u', '639', '5541', 'R', 'x', '6943', '3261', 'e', '2227', 'c', 'd', 'Z', '9559', '4199']
answer:

t, i, o, W, y, u, R, x, e, c, d, Z, 4397, 7643, 741, 9375, 639, 5541, 6943, 3261, 2227, 9559, 4199