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:
['8031', 'X', 'j', 'm', 'x', 'O', 'Y', 'p', 'z', 'U', '5125', 'J', '9977', '8977', '3787', '5241', 'z', '8985', '5807', '5063', '1133', '8497', 'n', 'C', 'j', 'X', '3299', 'Y', 'X', 't', '6197', 'a', 'f', 'S']
answer:
X, j, m, x, O, Y, p, z, U, J, z, n, C, j, X, Y, X, t, a, f, S, 8031, 5125, 9977, 8977, 3787, 5241, 8985, 5807, 5063, 1133, 8497, 3299, 6197


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:
['U', 'F', 'Y', 'u', '7173', 'T', '3993', 'V', '7991', '8671', '473']
answer:

U, F, Y, u, T, V, 7173, 3993, 7991, 8671, 473