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: ['8221', 'K', '1765', 'M', 'e', '6605', 'V', '1145', '2631', 'T', '3247', 'U', '7467', '4829', '7459', 'D', 'C', 'B', '6607', '533', 'p', '6123', '2115', '763', '3957', 'k', 'h', '4709', 'p', 'K', 'z', 'U', '8891', '8585', 'x', '4605', 'q']

SOLUTION: K, M, e, V, T, U, D, C, B, p, k, h, p, K, z, U, x, q, 8221, 1765, 6605, 1145, 2631, 3247, 7467, 4829, 7459, 6607, 533, 6123, 2115, 763, 3957, 4709, 8891, 8585, 4605

PROBLEM: ['9297', '4887', '3421', '2815', '5975', '1767', '2201', 'z', 'Z', '6543', '6865', '709', '6907', 'B', 'Q', 'h', '9195', 'z', 'g', 'y', '4243', '839', 'R', 'I']

SOLUTION: z, Z, B, Q, h, z, g, y, R, I, 9297, 4887, 3421, 2815, 5975, 1767, 2201, 6543, 6865, 709, 6907, 9195, 4243, 839

PROBLEM: ['5033', 'Y', 'p', '8483', 'Q', '8183', 'Q', 'U', '4831', '8777', 'Z', '5515', '8381', 'd', 'b']

SOLUTION:
Y, p, Q, Q, U, Z, d, b, 5033, 8483, 8183, 4831, 8777, 5515, 8381