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: ['6639', '7157', 'R', '4651', '3045', 'I', 'P', 'R', '869', '3621', '1409', '9523', 'q', '1477', 'V', 'I', 'L', 'u', '3655', '4041', '491', 'f']

SOLUTION: R, I, P, R, q, V, I, L, u, f, 6639, 7157, 4651, 3045, 869, 3621, 1409, 9523, 1477, 3655, 4041, 491

PROBLEM: ['O', 'f', 'C', '601', 'S', 'O', 'H', '6763', '1945', 'k', '3451', '4775', 'K', 'h', 'd', 'v', 'E', '7603', '5475', 'M', 'R', '2393', 'l', '3829', '9391', '2301', '9921']

SOLUTION: O, f, C, S, O, H, k, K, h, d, v, E, M, R, l, 601, 6763, 1945, 3451, 4775, 7603, 5475, 2393, 3829, 9391, 2301, 9921

PROBLEM: ['q', 'Z', '7469', '5863', 'F', 'F', '9997', '9755', 'Y', '4399', 'R', '3933', 'l', 'n', 'h', 'v', 'v', 'V', '8069', 'h', 'C', '9307', 'o', 'L', 'v', '8729', '3731', 'd']

SOLUTION:
q, Z, F, F, Y, R, l, n, h, v, v, V, h, C, o, L, v, d, 7469, 5863, 9997, 9755, 4399, 3933, 8069, 9307, 8729, 3731