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: ['5717', 'y', '2681', 'l', 'm', '3623', 'o', 'P', 'y', 'h', '2751', 'e', 'i', 'Q', '8331', '3197', 'v', '9189', 'F']

SOLUTION: y, l, m, o, P, y, h, e, i, Q, v, F, 5717, 2681, 3623, 2751, 8331, 3197, 9189

PROBLEM: ['C', 'x', '4187', 'L', 'N', 'h', 'n', '5057', 'J', 'U', 'f', 'C', 'V', '8055', '5863', '759', '5985', 'C', 'A', '6269', 'N', '5869', '8183', '1361', '3095', '865', 'r', '5061', 'C', 'y', 'n', '5695', 'X', 'L', '5001', '1787', '2173', 'U', '2953', 'i']

SOLUTION: C, x, L, N, h, n, J, U, f, C, V, C, A, N, r, C, y, n, X, L, U, i, 4187, 5057, 8055, 5863, 759, 5985, 6269, 5869, 8183, 1361, 3095, 865, 5061, 5695, 5001, 1787, 2173, 2953

PROBLEM: ['i', 'F', '6001', 'R', 'e', '9405', 'o', 'H', '6987', '4367', '4661', '8103', '5687', '1449', 'H', '9193', 'y', '8669', '8497', 'D', 'o', '5039', '423', '1083', '9645', '2921', 'D', 'A', 'Q', '3039', 'n', '1821', '5435', 'v', 'O', 'C', 'E', '4853', 's', 'X']

SOLUTION:
i, F, R, e, o, H, H, y, D, o, D, A, Q, n, v, O, C, E, s, X, 6001, 9405, 6987, 4367, 4661, 8103, 5687, 1449, 9193, 8669, 8497, 5039, 423, 1083, 9645, 2921, 3039, 1821, 5435, 4853