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:
['G', 'A', '1165', 'O']
answer:
G, A, O, 1165


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:
['367', 'F', '9661', 'w', 'F', 'c', 'r', 'w', '9501', 'X', 'a', '1027', '7167', '709', '4517', '8365', '2609', 'R', '8251', '3533', 'b', 'A', 'p', 'V', 'Z', 'w', 'D', '445', 'o', 'j', '4329', '3923', '5923']
answer:

F, w, F, c, r, w, X, a, R, b, A, p, V, Z, w, D, o, j, 367, 9661, 9501, 1027, 7167, 709, 4517, 8365, 2609, 8251, 3533, 445, 4329, 3923, 5923