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: ['6297', 'S', '7737', 'b', '9907', 'Q', 'Q', 'H', 'F', '7837', '9685', 'H', '1581', '3547', 'b', 'q', 'v']

SOLUTION: S, b, Q, Q, H, F, H, b, q, v, 6297, 7737, 9907, 7837, 9685, 1581, 3547

PROBLEM: ['C', '8309', 'b', 'l', '7593', 'J', '6145', '981', 'E', '4703']

SOLUTION: C, b, l, J, E, 8309, 7593, 6145, 981, 4703

PROBLEM: ['1551', '3725', '9293', 'y', '9699', 'h', 'o', '17', '5663', 'J', 'd', 'V', 'h', 'M', '6397', '6483', '8457', '5341', '4993', 'B', 'w', '1863', 'j', 'f', '9715', 'g', '8639', '7873', '4695']

SOLUTION:
y, h, o, J, d, V, h, M, B, w, j, f, g, 1551, 3725, 9293, 9699, 17, 5663, 6397, 6483, 8457, 5341, 4993, 1863, 9715, 8639, 7873, 4695