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: ['9847', 'R', '3275', 'I', '2841', 'z', 'T', 'D', 'F', '3527', 'l', 'O', 'x', 'p', '3729', '4393', 'H', '8691', '5069', '8491', '15', '3415', 'W', 'C', '9025', '583', '8853', '9151', '2745', 'k', 'I', 'h', '1459', 'h', '4399', 'e', '879', '9135']

SOLUTION: R, I, z, T, D, F, l, O, x, p, H, W, C, k, I, h, h, e, 9847, 3275, 2841, 3527, 3729, 4393, 8691, 5069, 8491, 15, 3415, 9025, 583, 8853, 9151, 2745, 1459, 4399, 879, 9135

PROBLEM: ['B', 'T', 'y', '4863', '715', 'O', 'i', 'n', '4171', '5175', 's', '4793', '9007', '9755', 'o', 'z', 'S', 'J', 'b', 'q', '5045', '7965']

SOLUTION: B, T, y, O, i, n, s, o, z, S, J, b, q, 4863, 715, 4171, 5175, 4793, 9007, 9755, 5045, 7965

PROBLEM: ['8621', '4619', '603', 'K', 'x', 'K', 'd', 'h', 'c', 'J', 'C', '7941', 'n', '103', '8019']

SOLUTION:
K, x, K, d, h, c, J, C, n, 8621, 4619, 603, 7941, 103, 8019