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: ['v', 'r', '6313', 'P', '7093', 'p', '8823', '3887', '8647', 'h', 'g', 'r', 'F', 'k', '5047', '1175', '9101', 'Q', '669', '9053', 'X']

SOLUTION: v, r, P, p, h, g, r, F, k, Q, X, 6313, 7093, 8823, 3887, 8647, 5047, 1175, 9101, 669, 9053

PROBLEM: ['g', 'k', 'j', '157', '4353', '241', 'f', '8513', 'V', '6715', 'x', 'U', 's', '1289', '8091', '7857', '6977', '4125']

SOLUTION:
g, k, j, f, V, x, U, s, 157, 4353, 241, 8513, 6715, 1289, 8091, 7857, 6977, 4125