TASK DEFINITION: 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.
PROBLEM: ['c', '8771', 't', 'e', '8875', 'q']

SOLUTION: c, t, e, q, 8771, 8875

PROBLEM: ['2887', '235', 'o', 'M', 'H', 'U', '9253', '7967', '1059', '7841']

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

PROBLEM: ['Z', '9419', '3363', '7941', '4255']

SOLUTION:
Z, 9419, 3363, 7941, 4255