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: ['B', '8107', '9083', 'B', '9897', 'a', 'Q', 'k', 'C', 'e', '4681', '5411', '3143', 'j', '835', 'b', 'C', 'H', '3295', '8187', 'z', 'N', '947', '1395', '6893', 'R', 'J', '3361', 'x', '6389']

Answer: B, B, a, Q, k, C, e, j, b, C, H, z, N, R, J, x, 8107, 9083, 9897, 4681, 5411, 3143, 835, 3295, 8187, 947, 1395, 6893, 3361, 6389


Question: ['8221', 'K', '1765', 'M', 'e', '6605', 'V', '1145', '2631', 'T', '3247', 'U', '7467', '4829', '7459', 'D', 'C', 'B', '6607', '533', 'p', '6123', '2115', '763', '3957', 'k', 'h', '4709', 'p', 'K', 'z', 'U', '8891', '8585', 'x', '4605', 'q']

Answer: K, M, e, V, T, U, D, C, B, p, k, h, p, K, z, U, x, q, 8221, 1765, 6605, 1145, 2631, 3247, 7467, 4829, 7459, 6607, 533, 6123, 2115, 763, 3957, 4709, 8891, 8585, 4605


Question: ['8489', 'S', '4281', '4959']

Answer:
S, 8489, 4281, 4959