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: ['6777', '9975', 'j', 'Y']

Answer: j, Y, 6777, 9975


Question: ['829', 'U', 'c', 'I', 'h', 'M', '9621', 'h', 'M', '2647', '3099', '4945', '9113', '379', 'O', 'n', '6615', '935', 'a', '2259', '7511', 'b', 'G', '1935', 'l', '9321', '2075', '5371', 'A', 'Q']

Answer:
U, c, I, h, M, h, M, O, n, a, b, G, l, A, Q, 829, 9621, 2647, 3099, 4945, 9113, 379, 6615, 935, 2259, 7511, 1935, 9321, 2075, 5371