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:
['6297', 'S', '7737', 'b', '9907', 'Q', 'Q', 'H', 'F', '7837', '9685', 'H', '1581', '3547', 'b', 'q', 'v']
answer:
S, b, Q, Q, H, F, H, b, q, v, 6297, 7737, 9907, 7837, 9685, 1581, 3547


question:
['r', 'g', '5847', '329', '6267']
answer:
r, g, 5847, 329, 6267


question:
['2577', 'a', 'M', '6531', '3787', 'G', '7701']
answer:

a, M, G, 2577, 6531, 3787, 7701