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:
['597', '6047', 'c', 'B', 'Z', '9349', '561', '8815', '4407', 't', '4855', '7361', '5215', 'q', '9735', 'A', 'n', '4895', '7731', '4227', '9977', 'J', 'p', '6473', 'd', '9137', 'L', '745', 'C', 'T']
answer:
c, B, Z, t, q, A, n, J, p, d, L, C, T, 597, 6047, 9349, 561, 8815, 4407, 4855, 7361, 5215, 9735, 4895, 7731, 4227, 9977, 6473, 9137, 745


question:
['7065', 'q', 'P', 'E', 'O', 'A', 'z', '8863', 't', 'L', 'v', 'n', '2159', '7027', '3179', 'u', '7143', '4687', 'K', '9581']
answer:
q, P, E, O, A, z, t, L, v, n, u, K, 7065, 8863, 2159, 7027, 3179, 7143, 4687, 9581


question:
['3517', 'h', 'j', '8019', '3927', '8145', 'S', '2065', 'J', '2195', 'E', 'R', '7997', 'I', '8179', '1801', 'W', '4697', '8225', '3289', '6301', '6097', '9293', 'Q', '8141', '657', '2781', 'F', 'u', 'z', '2937', 'B', 'f']
answer:

h, j, S, J, E, R, I, W, Q, F, u, z, B, f, 3517, 8019, 3927, 8145, 2065, 2195, 7997, 8179, 1801, 4697, 8225, 3289, 6301, 6097, 9293, 8141, 657, 2781, 2937