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: ['s', 'R', '5665', 'm', '2001', 'h', '2117', 'X', '453', 'S', '5799', '911', '7823', 'v', 'Z', '7171', 'l', 'p', '6701', 't', 'a', 'Y', '873', '2811', 'Y', '9533', '4317', 'Q', 'N', '2099', 'R', 'U', 'e', 'L', '9503', 'n', 'w', '7289', '1289']

SOLUTION: s, R, m, h, X, S, v, Z, l, p, t, a, Y, Y, Q, N, R, U, e, L, n, w, 5665, 2001, 2117, 453, 5799, 911, 7823, 7171, 6701, 873, 2811, 9533, 4317, 2099, 9503, 7289, 1289

PROBLEM: ['3805', 'd', 'V', 'u', '1395', '7337', '97', '6289', '5041', '8097', 'x', 'w', '7241', '2791', 'P', 'o', '7587', '6955', '9121', '599']

SOLUTION: d, V, u, x, w, P, o, 3805, 1395, 7337, 97, 6289, 5041, 8097, 7241, 2791, 7587, 6955, 9121, 599

PROBLEM: ['Y', 'R', 'C', 'R', 'O']

SOLUTION:
Y, R, C, R, O