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:
['j', 'h', '1213', '2235', 'Z', 'z', 'y', '3173', 'U', '3409', '9049', 'g', '3287', 's', 'n', '7121', '1697', 'T', '2395', 'y', 'M']
answer:
j, h, Z, z, y, U, g, s, n, T, y, M, 1213, 2235, 3173, 3409, 9049, 3287, 7121, 1697, 2395


question:
['Z', 'L', 'Y', 'D', '2261', '4123', '8645', 'z', '89']
answer:

Z, L, Y, D, z, 2261, 4123, 8645, 89