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:
['5663', 'Z', '4817', 'i', '3497', 'q', '5021', '9041', 'F', '9617', 'j', 'H', 'q', 'r', '9121', '5007', '8547', 'L', 'z', '169', '3415', 'H', 'z', 'N', '6873', '5259', 'W', '2691', 'c', 'a', 'U', '3415', '6161', '6467']
answer:
Z, i, q, F, j, H, q, r, L, z, H, z, N, W, c, a, U, 5663, 4817, 3497, 5021, 9041, 9617, 9121, 5007, 8547, 169, 3415, 6873, 5259, 2691, 3415, 6161, 6467


question:
['O', '4065', '3793', '4123', 'i', '1017', '2023', 'Q', 'Y', 'u', '8089', '8707', '6203', '1597', 'y', '6851', 'M', '1927', '9641', 't', '4281', 'b', 'm', 'm', '5371', '4465', 'n', '6049', 't', '5251', 'w', 'K', '883', 'd', '4925', '4185']
answer:
O, i, Q, Y, u, y, M, t, b, m, m, n, t, w, K, d, 4065, 3793, 4123, 1017, 2023, 8089, 8707, 6203, 1597, 6851, 1927, 9641, 4281, 5371, 4465, 6049, 5251, 883, 4925, 4185


question:
['Z', 'U', '4527', 'f', 'W', '8183', '2007', 'D', '3313', 'p', 'N', '3953', '6217', '9343', 'G', '499', '8041', 'A', 'i']
answer:

Z, U, f, W, D, p, N, G, A, i, 4527, 8183, 2007, 3313, 3953, 6217, 9343, 499, 8041