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:
['A', '1797', 'h', '831', 'R', '1479', '847', '9057', '2253', '7111', 'M', 'p', '8749', 'm', '3599', '4911', 'c', 'X', '6719', '1513', '6901', '7125', '7697', 'W', 'x', 'G', 'L', 'J', 'W']
answer:
A, h, R, M, p, m, c, X, W, x, G, L, J, W, 1797, 831, 1479, 847, 9057, 2253, 7111, 8749, 3599, 4911, 6719, 1513, 6901, 7125, 7697


question:
['3027', '8547', '6795', 'Q', '2737', 'v', 'i', 'V', 'o', '1523', 'W', '8717', 'L', '5091', '7495', '1307', 'E', 'm', '5417', '1231', '1959']
answer:
Q, v, i, V, o, W, L, E, m, 3027, 8547, 6795, 2737, 1523, 8717, 5091, 7495, 1307, 5417, 1231, 1959


question:
['9869', '5245', 'W']
answer:

W, 9869, 5245