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:
['v', '4855', 'U', '1143', '299', '7257', 'U', '7749', 'G', 'Y', 'f', 't', '8953', '9719', 'T', 'M', 'w', 'S', '5935', '9303', '4971', '887', 'p', '4953', '5109', 't', '7827', '7537', '1299']
answer:
v, U, U, G, Y, f, t, T, M, w, S, p, t, 4855, 1143, 299, 7257, 7749, 8953, 9719, 5935, 9303, 4971, 887, 4953, 5109, 7827, 7537, 1299


question:
['X', '4861', '4531']
answer:
X, 4861, 4531


question:
['6511', '4385', 't', '527', '1823', '8793', '703', '5237', 'A', 'a', 'Q', '2829', 'd', '3821', 'K', 'y', 'R', '8825', 'O', '3085', 'z', '663', '6721', '9793', 'e']
answer:

t, A, a, Q, d, K, y, R, O, z, e, 6511, 4385, 527, 1823, 8793, 703, 5237, 2829, 3821, 8825, 3085, 663, 6721, 9793