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: ['m', 'D', 'z', 'I', 'H', 'a', 'U', '8661', '8367', 'B', '1349', 'z']

Answer: m, D, z, I, H, a, U, B, z, 8661, 8367, 1349


Question: ['R', 'w', 'o']

Answer: R, w, o


Question: ['8497', 'n', '8311', 'q', '2249', 'o', 'k']

Answer:
n, q, o, k, 8497, 8311, 2249