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:
['3547', '9563', '85', '1897', 'g', '2449', '7801', '8531', '4719', 'N', '63', '4227', '7751', 'R', '127', '3839', 'P', '9783', '8499', '9205', 'X', 'e', '5773', 'v', '3279', '9471', 'j', 'W', '4587', '3001', 'd', '6931', 'S', '1503', '1077']
answer:
g, N, R, P, X, e, v, j, W, d, S, 3547, 9563, 85, 1897, 2449, 7801, 8531, 4719, 63, 4227, 7751, 127, 3839, 9783, 8499, 9205, 5773, 3279, 9471, 4587, 3001, 6931, 1503, 1077


question:
['9145', '6639', 'l', 'T', 's', 'X', '1485', '7971', 'P', '8157', 'E', '3797', 'c', '1981', 'j', 'j', '83', 's', '7441', 'J', 'z', 'q', 'n', '5063', 'U', 'D', '2213', 'c', '7307', 'C', 'x', 'K', 'W', 'K', '1671', '5895', 's', 'p', 'S']
answer:
l, T, s, X, P, E, c, j, j, s, J, z, q, n, U, D, c, C, x, K, W, K, s, p, S, 9145, 6639, 1485, 7971, 8157, 3797, 1981, 83, 7441, 5063, 2213, 7307, 1671, 5895


question:
['3137', '5281', 'Y', 'D', 't', '809', '9791', 'X', 'v', '3135', '409', 'c', '4327', '8145']
answer:

Y, D, t, X, v, c, 3137, 5281, 809, 9791, 3135, 409, 4327, 8145