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:
['7455', 'p', '77', '3019', '135', '7585', '8201', '7115', '6619', 'F', '8747', 'K', 'p', '577', '5725', '1403', 'B', 'G', '627', 'S', '7325', '9579', '1985', 'W', '539', 'L']
answer:
p, F, K, p, B, G, S, W, L, 7455, 77, 3019, 135, 7585, 8201, 7115, 6619, 8747, 577, 5725, 1403, 627, 7325, 9579, 1985, 539


question:
['597', '6047', 'c', 'B', 'Z', '9349', '561', '8815', '4407', 't', '4855', '7361', '5215', 'q', '9735', 'A', 'n', '4895', '7731', '4227', '9977', 'J', 'p', '6473', 'd', '9137', 'L', '745', 'C', 'T']
answer:
c, B, Z, t, q, A, n, J, p, d, L, C, T, 597, 6047, 9349, 561, 8815, 4407, 4855, 7361, 5215, 9735, 4895, 7731, 4227, 9977, 6473, 9137, 745


question:
['F', '8001', 'n', 'D', '3139', 'g', '1359', 'x', '4857', '1869', 'R', 'i', 'J', '6151', '1133', '3877', 'b', '6789', 'B', '2469', 'q', '8811', '1787', '3857', 'I', '1289', '1897', 'i', 'n', '6499', '9775', 'P', '2311', '8233', 'h', '8695', '9933', '941', '4789', 'g']
answer:

F, n, D, g, x, R, i, J, b, B, q, I, i, n, P, h, g, 8001, 3139, 1359, 4857, 1869, 6151, 1133, 3877, 6789, 2469, 8811, 1787, 3857, 1289, 1897, 6499, 9775, 2311, 8233, 8695, 9933, 941, 4789