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', 't', '3581', 't', '4415', '1575', 'k', 'U', '9815', '3627', 'i', '3261', '4213', '1707', 'c', '4811', '639', 'F', '2923', 't', '3217', '9321']
answer:
y, t, t, k, U, i, c, F, t, 3581, 4415, 1575, 9815, 3627, 3261, 4213, 1707, 4811, 639, 2923, 3217, 9321


question:
['2261', 'C', '305', '2971']
answer:
C, 2261, 305, 2971


question:
['n', '1505', 'A', 'p', '8149', 'J', 'L', '2829', 'R', '4545', 'j', 'e', '5535', '1623', '8827', 'R', '7859', 'J', '9567', 'B', 's', 'L', 'c', '4823', 'j', '153', '1541', 'r', '2787', '2889']
answer:

n, A, p, J, L, R, j, e, R, J, B, s, L, c, j, r, 1505, 8149, 2829, 4545, 5535, 1623, 8827, 7859, 9567, 4823, 153, 1541, 2787, 2889