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:
['7361', 'H', 'd', '1811', '8801', 'D', '245', 'i', 'q', '4507', '3811', '4643', '5653', '5799', 'A', 'Q', 'X', 'i', '1595', 'U', 'X', 'z', 'X', '3265', 'O', 'j', 'n', '573', 'A', 'J', '769', '5933', 's', 'I', '9749']
answer:
H, d, D, i, q, A, Q, X, i, U, X, z, X, O, j, n, A, J, s, I, 7361, 1811, 8801, 245, 4507, 3811, 4643, 5653, 5799, 1595, 3265, 573, 769, 5933, 9749


question:
['81', 'c', '2003', 'X', 'w']
answer:
c, X, w, 81, 2003


question:
['6293', '4315', '811', '5735', '8969', 'J', '573', '7399', '8597', 'c', '6597', '497', '1319', 'a', '5371']
answer:

J, c, a, 6293, 4315, 811, 5735, 8969, 573, 7399, 8597, 6597, 497, 1319, 5371