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:
['Y', 'M', '2647', 's', '7917', 'p', '3605', '5895', 'k', '4215', '9063', 'T', '5345']
answer:
Y, M, s, p, k, T, 2647, 7917, 3605, 5895, 4215, 9063, 5345


question:
['6349', '4025', 'e', '2923', '2507', 'E', 'j', '3411', '8867', '1547', '9523', '8151', '6207', 'z', 'W', 'b', '3273', '5157', 'y', '7501']
answer:
e, E, j, z, W, b, y, 6349, 4025, 2923, 2507, 3411, 8867, 1547, 9523, 8151, 6207, 3273, 5157, 7501


question:
['4849', 'a', 'S', '1949', '3149', 'N', 'U', 'U', 'Y', '8719', '95', 'W', 'N', 'K', 'Y', 'h', '8043', '3017', 'r', 'e', 'q', 'd', 'x', '7791', '751', 'x', '153', 'd', '7211', 'c', 'y', '3711', '6429', '3663']
answer:

a, S, N, U, U, Y, W, N, K, Y, h, r, e, q, d, x, x, d, c, y, 4849, 1949, 3149, 8719, 95, 8043, 3017, 7791, 751, 153, 7211, 3711, 6429, 3663