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: ['Y', 'C', '5581', 'h', '721', 'T', '9727', 'l', 'q', '2239', '2891', 'g', 'b', 'L', 'Y', '1391', '3441', '2845', '7533', 'J', 't', 'i', '4697', '9955', '8751', 'L', '7079', '3327', '7643']

SOLUTION: Y, C, h, T, l, q, g, b, L, Y, J, t, i, L, 5581, 721, 9727, 2239, 2891, 1391, 3441, 2845, 7533, 4697, 9955, 8751, 7079, 3327, 7643

PROBLEM: ['3481', 'L', 'H', 'L', 'L', '871', 'Y', 'F', 'X', 't', '9495', 'C', '179', 'k', 'p', 'o', '6361', '1181', '377', 'G', '5235', '7041', 'z', '1543', 'k', 'N', 'i', 'd', '7073', 'W', 'X', '4033', '3295', 'Z']

SOLUTION: L, H, L, L, Y, F, X, t, C, k, p, o, G, z, k, N, i, d, W, X, Z, 3481, 871, 9495, 179, 6361, 1181, 377, 5235, 7041, 1543, 7073, 4033, 3295

PROBLEM: ['2477', '4555', 'U', '8323', '6539', '2719', 'U', '1969', 'd', '7903', '4773']

SOLUTION:
U, U, d, 2477, 4555, 8323, 6539, 2719, 1969, 7903, 4773