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: ['9557', '3765', 'u', '2523', '1195', '5499', 'Z', 'E', '3021', 'a', 'e', '6245', 'f', '8035', '7325', '3311', '3145', 'U', '9169', 'P', 'h', 'R', '8863', 'H', 'M', '4817', '6159', '359', 'x', 't', 'a', '2151']

SOLUTION: u, Z, E, a, e, f, U, P, h, R, H, M, x, t, a, 9557, 3765, 2523, 1195, 5499, 3021, 6245, 8035, 7325, 3311, 3145, 9169, 8863, 4817, 6159, 359, 2151

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: ['h', 'z', 'k', 'P', 'G', '9997', '4047', 'c', 't', 'l', 'x', 'h', '2641', 'C', '7591', '4691', '25', 'f', '91', '3153', 'H', '2195', '449', '5473', '2535', '6281', '6223', '5911', '3951', 'k', '5791', '3881', '4547', '5437', 'C', 'z', 'J', 'G', '9711', '8929']

SOLUTION:
h, z, k, P, G, c, t, l, x, h, C, f, H, k, C, z, J, G, 9997, 4047, 2641, 7591, 4691, 25, 91, 3153, 2195, 449, 5473, 2535, 6281, 6223, 5911, 3951, 5791, 3881, 4547, 5437, 9711, 8929