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:
['9741', 'H', 'a', '2521', '3641', 'O', '3167', '5507', '9535', 'R']
answer:
H, a, O, R, 9741, 2521, 3641, 3167, 5507, 9535


question:
['B', '8107', '9083', 'B', '9897', 'a', 'Q', 'k', 'C', 'e', '4681', '5411', '3143', 'j', '835', 'b', 'C', 'H', '3295', '8187', 'z', 'N', '947', '1395', '6893', 'R', 'J', '3361', 'x', '6389']
answer:
B, B, a, Q, k, C, e, j, b, C, H, z, N, R, J, x, 8107, 9083, 9897, 4681, 5411, 3143, 835, 3295, 8187, 947, 1395, 6893, 3361, 6389


question:
['8205', '669', 'W', 'p', 'g', '3165', 'I', '8935', 'Q', '3175', 'i', 's', '9153', '3497', 'E', '4351', 'o', 'f', '1165', 'i', 'Y', '5271', 'z', '4351']
answer:

W, p, g, I, Q, i, s, E, o, f, i, Y, z, 8205, 669, 3165, 8935, 3175, 9153, 3497, 4351, 1165, 5271, 4351