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: ['Y', '1979', 'c', 'A', 'Y', 'i', 'B']

Answer: Y, c, A, Y, i, B, 1979


Question: ['q', '8387']

Answer: q, 8387


Question: ['R', 'P', 'i', '4149']

Answer:
R, P, i, 4149