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:
['S', '8365', 'C', '9185', 'd', 'Z', 'R', '2537', 'r', '5021', '7251', '8567', '4061', '3311', '6439', '5359', 'x', '9931', '87', '2169', '9021', '195', 'N', 'o', 'K', '747', 'h', '6187', 'x', 'n', 'p', '1219', 'P', '4661', 'c', 'm', '5775', 'u', '5929', 'G']
answer:
S, C, d, Z, R, r, x, N, o, K, h, x, n, p, P, c, m, u, G, 8365, 9185, 2537, 5021, 7251, 8567, 4061, 3311, 6439, 5359, 9931, 87, 2169, 9021, 195, 747, 6187, 1219, 4661, 5775, 5929


question:
['e', '3865', 'E', '3945', '6479', 'X', '565', 'C', '9113', 'i', '8355', '7467', 'X', '6577', 'P', 'Q', '4039', 'N', '7993', 'x', 'u', '7455', 'w', 'P', 'q', 'h', 'p', 's', '2323', 'N', '1171', 'h', '2049', 'n', 't', 'A', '7143']
answer:
e, E, X, C, i, X, P, Q, N, x, u, w, P, q, h, p, s, N, h, n, t, A, 3865, 3945, 6479, 565, 9113, 8355, 7467, 6577, 4039, 7993, 7455, 2323, 1171, 2049, 7143


question:
['9349', '4417', '9467', 'P', '9539', 'W', '5925', '4587', '5399', 'y', 'T', '8043', '9933', '2719', '2765', '4005', '6395', 'u', '7875', '5737', 'U', '7485', '6147', '1421']
answer:

P, W, y, T, u, U, 9349, 4417, 9467, 9539, 5925, 4587, 5399, 8043, 9933, 2719, 2765, 4005, 6395, 7875, 5737, 7485, 6147, 1421