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: ['9175', 'k', '2827', 'z', '9377', 'g', 'z', 'I', 'U', 'D', '8353', 'p', 'b', 'C', '9151', '4657', 'p', 'z', '7771', 'D', 'U', 'q', 'f', 'R', 'M', '5491', '5043', '4249', 'l', '3871']

SOLUTION: k, z, g, z, I, U, D, p, b, C, p, z, D, U, q, f, R, M, l, 9175, 2827, 9377, 8353, 9151, 4657, 7771, 5491, 5043, 4249, 3871

PROBLEM: ['435', 's', '5299', 'J', '9037', '1833', '8825', 'u', '1879', '3037', 'U', 'X', 'L', 'l', 'D', '7073', 'o', '775', '7225', '7875', 'W', 'q', 'Q', '9385', 'U', '1195', '8393', 'd', 'r']

SOLUTION: s, J, u, U, X, L, l, D, o, W, q, Q, U, d, r, 435, 5299, 9037, 1833, 8825, 1879, 3037, 7073, 775, 7225, 7875, 9385, 1195, 8393

PROBLEM: ['Z', '2419', 'I', '3939', '105', '5799', '7185', '4355', '4357', 'b']

SOLUTION:
Z, I, b, 2419, 3939, 105, 5799, 7185, 4355, 4357