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:
['E', 'm', 'o', '3729', 'd', 'r', 'V', 'X', 'J', '2701', '1567', '8189', 'Y', 'x', 'X', '7643', '8261', 'y', '7373', '9971', '3321', 'N', '5309', 'W', 'h']
answer:
E, m, o, d, r, V, X, J, Y, x, X, y, N, W, h, 3729, 2701, 1567, 8189, 7643, 8261, 7373, 9971, 3321, 5309


question:
['H', 'x', '959', 'J', 'p', '7515', '1861', '9627', '7409', '9055', '1595', 'h', 'i', 'F', '3911', 'G', 's', '2969', '5329', '3219', 'Q', 'k', 'r', 'l', 'o', 'F', '4987', '1231', 'V', '4403', 'Q', 's', 'B']
answer:
H, x, J, p, h, i, F, G, s, Q, k, r, l, o, F, V, Q, s, B, 959, 7515, 1861, 9627, 7409, 9055, 1595, 3911, 2969, 5329, 3219, 4987, 1231, 4403


question:
['1031', 'X', '1303', '9573', '6291', '2333', 'A', '629', 'F', '4283', '2703', '7291', '85', '6739', '6471']
answer:

X, A, F, 1031, 1303, 9573, 6291, 2333, 629, 4283, 2703, 7291, 85, 6739, 6471