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:
['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


question:
['y', 'u', '2937', 'N', 'v', 'O', '7611']
answer:
y, u, N, v, O, 2937, 7611


question:
['U', 'j', 'a', 'Z', '8115', '6715', '7959', '1329', 'Y', '9759', '7791', '1159', 'Q', '1397', '7131', 'G', 'Y', 'Q', '2905', '8509', '7455', 'N', '7103', '3377', '2261', '619', '4139', '5497', '1269', 'p', 'D', '8465', '7581', '3687', 's', 'z', '1613', '8215', '1849', '6097']
answer:

U, j, a, Z, Y, Q, G, Y, Q, N, p, D, s, z, 8115, 6715, 7959, 1329, 9759, 7791, 1159, 1397, 7131, 2905, 8509, 7455, 7103, 3377, 2261, 619, 4139, 5497, 1269, 8465, 7581, 3687, 1613, 8215, 1849, 6097