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:
['8071', '2531', '6993', '3955', 'b', 'H', 'n', '8903', 'n', 'V', '2965', '2513', '1373', 'k', '1291', '2689']
answer:
b, H, n, n, V, k, 8071, 2531, 6993, 3955, 8903, 2965, 2513, 1373, 1291, 2689


question:
['3217', '5145', 'Z', 'a', 'x', 'm', 'f', 'p']
answer:

Z, a, x, m, f, p, 3217, 5145