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: ['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: ['2397', '1403', '7057', 's', 'e', 'd', 'n', '1851', 'n', '5057']

SOLUTION: s, e, d, n, n, 2397, 1403, 7057, 1851, 5057

PROBLEM: ['5183', 'z', '4497', 'R']

SOLUTION:
z, R, 5183, 4497