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:
['9083', '4969', 'P', '3831', 'q', 'o', 'Z', 'H', 'H', '5829', 'L', 'q', 'l', 'W', '1787', '1507', 'A', '5693', 'i', '889', '3445', '2437', '6987', '3987', '4551', '4723', '655', 's', 'P']
answer:
P, q, o, Z, H, H, L, q, l, W, A, i, s, P, 9083, 4969, 3831, 5829, 1787, 1507, 5693, 889, 3445, 2437, 6987, 3987, 4551, 4723, 655


question:
['309', 'c', '8305', 'f', 'u', '6527', 'U', 'K', 'P', '6163', '5561', 'r', '5809', 'O', 'j', '6513', '7897', 'i', 'f', 'M', 'K', 'C', '5133', '4861', '7939', '3639', '2383', 'i', 'u', '709', '4701', 'j', 'V', '5259', 'Y']
answer:

c, f, u, U, K, P, r, O, j, i, f, M, K, C, i, u, j, V, Y, 309, 8305, 6527, 6163, 5561, 5809, 6513, 7897, 5133, 4861, 7939, 3639, 2383, 709, 4701, 5259