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:
['z', '8187', '4529', '1919', 'P', 'z', '1201', '1097', '6543', '3119', '2985', '9259', '2779', '1863', 'c', '361', '5583', '1255', 'Z', 'B', 'E', '4107', 'B', 't', '8595', 't', 't', '8349', 'Z', 'G', 't', 'U', 'M', '5879', '9917', '6685', '5647']
answer:
z, P, z, c, Z, B, E, B, t, t, t, Z, G, t, U, M, 8187, 4529, 1919, 1201, 1097, 6543, 3119, 2985, 9259, 2779, 1863, 361, 5583, 1255, 4107, 8595, 8349, 5879, 9917, 6685, 5647

question:
['G', '9601', '531', 'k', '1475', 'd', 'z', '3605', '5159', 'V', '8553', '4219', 'Q', '5021', '971', 'X', '1511', 'h', '6951', '7755', '7171', 'N', 'e', '8049', '6269', 'S']
answer:
G, k, d, z, V, Q, X, h, N, e, S, 9601, 531, 1475, 3605, 5159, 8553, 4219, 5021, 971, 1511, 6951, 7755, 7171, 8049, 6269

question:
['8717', '7499', '999', 'A', '2591', '785', 'M', '8795', 'B', '4475', '9161', 'L', 'Z', 'Y', '7653', '3041', 'E', 'W', 'T', 'j', '4523', 't', '2451', 'G', 'm', '5645', 'W', 'K', '2693', '3945', '3469', 'c', '7555']
answer:
A, M, B, L, Z, Y, E, W, T, j, t, G, m, W, K, c, 8717, 7499, 999, 2591, 785, 8795, 4475, 9161, 7653, 3041, 4523, 2451, 5645, 2693, 3945, 3469, 7555