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', 'C', '5581', 'h', '721', 'T', '9727', 'l', 'q', '2239', '2891', 'g', 'b', 'L', 'Y', '1391', '3441', '2845', '7533', 'J', 't', 'i', '4697', '9955', '8751', 'L', '7079', '3327', '7643']
answer:
Y, C, h, T, l, q, g, b, L, Y, J, t, i, L, 5581, 721, 9727, 2239, 2891, 1391, 3441, 2845, 7533, 4697, 9955, 8751, 7079, 3327, 7643


question:
['3935', '5465']
answer:
3935, 5465


question:
['2883', 'A', 'K', '7929', 'f', '4433', '7099', '1249', 't', 'n', 'F', 'Q', '5277', '3317', 'w', '3349', 'X', '5189', '7677', 'L', 'm', 'N', 't', 'O', 'k', 'k', 'j', 'z', '8809', 'K', 's', '6781', '6917', '7779', '5277', '5043', '55', '6397', '1041']
answer:

A, K, f, t, n, F, Q, w, X, L, m, N, t, O, k, k, j, z, K, s, 2883, 7929, 4433, 7099, 1249, 5277, 3317, 3349, 5189, 7677, 8809, 6781, 6917, 7779, 5277, 5043, 55, 6397, 1041