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: ['x', 'u', '6687', '3617', '4795', '3665', 'A', '4355', '9183', '3477', 'B', 'P', 't', 'L', 'G', 'o', 'c', 'U', 'n', '1453', '2499', 'B', 's', 'd', 'm', 'n', '959', 'K', 'H', '9159', 'H', '8191', 'B', '4837', '9287', '7891', '8529', '3229', '377']

Answer: x, u, A, B, P, t, L, G, o, c, U, n, B, s, d, m, n, K, H, H, B, 6687, 3617, 4795, 3665, 4355, 9183, 3477, 1453, 2499, 959, 9159, 8191, 4837, 9287, 7891, 8529, 3229, 377


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: ['y', 'j', 'u', '8717', '5327', 'y', 'E', 'm', '2107', '7243', 'I', 'O', 'H', '1649', '7749', 'O', 'f', 'm', 'q', 'F', 'O', '4187', '2051', '5563', '3791', '787', '9449', 'T', 'M', '4295', '3487']

Answer:
y, j, u, y, E, m, I, O, H, O, f, m, q, F, O, T, M, 8717, 5327, 2107, 7243, 1649, 7749, 4187, 2051, 5563, 3791, 787, 9449, 4295, 3487