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: ['B', '8107', '9083', 'B', '9897', 'a', 'Q', 'k', 'C', 'e', '4681', '5411', '3143', 'j', '835', 'b', 'C', 'H', '3295', '8187', 'z', 'N', '947', '1395', '6893', 'R', 'J', '3361', 'x', '6389']

SOLUTION: B, B, a, Q, k, C, e, j, b, C, H, z, N, R, J, x, 8107, 9083, 9897, 4681, 5411, 3143, 835, 3295, 8187, 947, 1395, 6893, 3361, 6389

PROBLEM: ['7097', '635', '777', '3031', '685', 'Q', '3311', '2177', 'c', 'N', 'g', '9017', 'H', '8113', 'L']

SOLUTION: Q, c, N, g, H, L, 7097, 635, 777, 3031, 685, 3311, 2177, 9017, 8113

PROBLEM: ['V', '1741', 'B', '3187', '3329', 'F', '869', 'v', 'J', '4375', '9337', 'a', '5649', '2387', '7559', 'N', '7809', '1645', 'i', '5409', '6227', '7533', '4821', '701', '4849', '6981', 'l']

SOLUTION:
V, B, F, v, J, a, N, i, l, 1741, 3187, 3329, 869, 4375, 9337, 5649, 2387, 7559, 7809, 1645, 5409, 6227, 7533, 4821, 701, 4849, 6981