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:
['P', 'B', 'N', '8793', 'Z', 'j', '4167', 'a', '1309', 'W', '8209', '6547', '429', '2963', 'U', '6371', 'T', 'G', '9851', 'r', '2291', '8565', '7789', 'w', '4303', 'B', '9819', 'x', 'j', 'b', '3009', 'a', '3403', '7503', 'e', '4675', 'V', 'H', 'k']
answer:
P, B, N, Z, j, a, W, U, T, G, r, w, B, x, j, b, a, e, V, H, k, 8793, 4167, 1309, 8209, 6547, 429, 2963, 6371, 9851, 2291, 8565, 7789, 4303, 9819, 3009, 3403, 7503, 4675


question:
['r', '5483', 'w', '1445', '4725', 'u', '8063', '5863', '8783', '4399', '5149', 'J', 'I', 'n', 'w', 'n', 'k', 'i', 'S', '3827', '267', 'h', 'I', '4449', 'a', '7731', 'y', 'T', '9733', '9475', 'H', 'w', 'X', '587', 'O', '3631', '7795', '1903', '9433']
answer:
r, w, u, J, I, n, w, n, k, i, S, h, I, a, y, T, H, w, X, O, 5483, 1445, 4725, 8063, 5863, 8783, 4399, 5149, 3827, 267, 4449, 7731, 9733, 9475, 587, 3631, 7795, 1903, 9433


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