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:
['q', 'm', '3639', '1029', '6027', 'l', '9765', '165', '2131', 'j', '1403', '8975', 'K', '2587', 'l', '5613', '5657', 'L', 'o', '6831', 'L', 'Q', '3345', '1265', 'F', 'Y', 'i', '3765', '6639', 'I', 'x', '6447', '5573', '8489', 'I', '5753']
answer:
q, m, l, j, K, l, L, o, L, Q, F, Y, i, I, x, I, 3639, 1029, 6027, 9765, 165, 2131, 1403, 8975, 2587, 5613, 5657, 6831, 3345, 1265, 3765, 6639, 6447, 5573, 8489, 5753


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:
['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