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: ['5921', 'o', 'O', '4171', '8335', 'q', 'i', '2673', 'V', '3283', 'C', 'L', 'c', '3601', '9257', '2023', 'N', '209', '7467', 'P', '1991', 'p', 's', '8409', '4427', '4525', 'i', 'P', 'P', '8817', '4067', '6473', '1079']

SOLUTION: o, O, q, i, V, C, L, c, N, P, p, s, i, P, P, 5921, 4171, 8335, 2673, 3283, 3601, 9257, 2023, 209, 7467, 1991, 8409, 4427, 4525, 8817, 4067, 6473, 1079

PROBLEM: ['N', '975', '613', '1795', 'L', '6847', 'p', 'f', '9823', '6177', 'F', 'i']

SOLUTION: N, L, p, f, F, i, 975, 613, 1795, 6847, 9823, 6177

PROBLEM: ['8967', '4703', '5635', 'Q', 'o', 'h', '8127', 'S', '795', 'k', 'f', 'V', 'B', '1327', 'X', '6461', '4815', 'd', 'w', 'k', 'C', '1249', '2277', 'Q', '3409', '2669', '6229', '6855', 'd', '7015', 'E', 'p', '8941', '3767', '5497', '1493', 'S', 'K', '3607']

SOLUTION:
Q, o, h, S, k, f, V, B, X, d, w, k, C, Q, d, E, p, S, K, 8967, 4703, 5635, 8127, 795, 1327, 6461, 4815, 1249, 2277, 3409, 2669, 6229, 6855, 7015, 8941, 3767, 5497, 1493, 3607