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:
['8467', 'Y', '2577', '9341', 'J', '1787', 'V', 'T', '8479', '7497', 'u', 'z', 'x', '9557', 'i', 'j', '4031', 'R', 'h', '6007', 'V', '6755', 'u', 'B', 'g', '7473']
answer:
Y, J, V, T, u, z, x, i, j, R, h, V, u, B, g, 8467, 2577, 9341, 1787, 8479, 7497, 9557, 4031, 6007, 6755, 7473


question:
['Y', 'R', 'C', 'R', 'O']
answer:
Y, R, C, R, O


question:
['5489', 'n', '5727', 'V', '7017', 'F', '2321', 'p', 'H', '387', '1559', '2373', 's', '2777', '1187', 'r', 'i', '2887', 'p', 'k', 'Z', '5773', 'j', '8825', '5861', 'A', '7777', '6267', 'w', '8351', '7009', 'K', '6479', '6059', 'u', '3033', '5533', 'K']
answer:

n, V, F, p, H, s, r, i, p, k, Z, j, A, w, K, u, K, 5489, 5727, 7017, 2321, 387, 1559, 2373, 2777, 1187, 2887, 5773, 8825, 5861, 7777, 6267, 8351, 7009, 6479, 6059, 3033, 5533