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: ['2887', '235', 'o', 'M', 'H', 'U', '9253', '7967', '1059', '7841']

Answer: o, M, H, U, 2887, 235, 9253, 7967, 1059, 7841


Question: ['C', '9029', '4967']

Answer: C, 9029, 4967


Question: ['8871', 'n', 'n', '1951', 'q', '1317', '6217', 'b', '3885', 'a', '347', '6167', '5851', '6315', 'q', 's', '5131', '2439', 'b', 'a', 'e', '8867', 'd', '5501', 'C', '1963', 'w', '8751', 'P', 'U', 'k', '6281', 'K']

Answer:
n, n, q, b, a, q, s, b, a, e, d, C, w, P, U, k, K, 8871, 1951, 1317, 6217, 3885, 347, 6167, 5851, 6315, 5131, 2439, 8867, 5501, 1963, 8751, 6281