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: ['f', 'M', 'x', 'o', '5023', '5547', '7229', 'D', '4431', '9809', 'k', '3997', '8051', 'O', '7487', '7569', 'l', '3151', '4747', '9525', '3159', '5205', 'y', '2871', 'M', 'R']

Answer: f, M, x, o, D, k, O, l, y, M, R, 5023, 5547, 7229, 4431, 9809, 3997, 8051, 7487, 7569, 3151, 4747, 9525, 3159, 5205, 2871


Question: ['6475', '5647', '1355', 'x', 'V', '7023', 'a', '4331', '8167', '1981', '9577', 'K', 'F', 'L', 'O', '9513', 'd', 'H', '201', 'h', '9709', '35', 'z', 'l', 'Y', '5349', 'u', 'E', '5721', '6263']

Answer: x, V, a, K, F, L, O, d, H, h, z, l, Y, u, E, 6475, 5647, 1355, 7023, 4331, 8167, 1981, 9577, 9513, 201, 9709, 35, 5349, 5721, 6263


Question: ['d', '4979', 'E', '1171', 'D', 'h', '1697', '547', 'W', 'x', 'w', '5361', '5461', '9715', '2307', 'f', 'N', 'O', 'x', 'Y', '5043', 'I', 'n', 'z']

Answer:
d, E, D, h, W, x, w, f, N, O, x, Y, I, n, z, 4979, 1171, 1697, 547, 5361, 5461, 9715, 2307, 5043