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:
['P', 'Q', 'G', '3885', 'f', 'n', 'y', 'H', 'c', 'g', 'X', 'J', '2587', '93', 'P', 'k', 'x', '1777', 'L', '837', '8557', 'x', '1031', '1023', '5725', '5547', '2737', 'L']
answer:
P, Q, G, f, n, y, H, c, g, X, J, P, k, x, L, x, L, 3885, 2587, 93, 1777, 837, 8557, 1031, 1023, 5725, 5547, 2737


question:
['G', 'G', '2545', 'c', '2661', '9995', '3151', 'o', '5479', '8223', 'z', '3977', '5659', '3137', '8157', 'o', 'x', 'q', 'E', 'R', 'Z', '3961', 'g', 's']
answer:
G, G, c, o, z, o, x, q, E, R, Z, g, s, 2545, 2661, 9995, 3151, 5479, 8223, 3977, 5659, 3137, 8157, 3961


question:
['f', '8301', '1291', 'p', '1015', '6747', 'C', 'L', 'f', '8515', 'm', '1161', 'w', 'Q', 'f']
answer:

f, p, C, L, f, m, w, Q, f, 8301, 1291, 1015, 6747, 8515, 1161