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: ['m', '3101', '8627', 'p', '5923', 'S', 'Z', '37', '5807', 'N', 'U', '4511', '1065', '173', 'J', '1343', 't', '2081', 'd', '6249', '527', 'z', 'i', '5497', '2309', 'N', 'g', 'U', '6609', 'L', '7373', '6897', '1361', '8413', 'b', 'k', 'Y']

SOLUTION: m, p, S, Z, N, U, J, t, d, z, i, N, g, U, L, b, k, Y, 3101, 8627, 5923, 37, 5807, 4511, 1065, 173, 1343, 2081, 6249, 527, 5497, 2309, 6609, 7373, 6897, 1361, 8413

PROBLEM: ['F', 'E', 'p', 'd', '8159', 'a', '6625', '8905', '5515', 'P', 'W', '6557', '9587', '5477', 'S', 'z', '9427']

SOLUTION: F, E, p, d, a, P, W, S, z, 8159, 6625, 8905, 5515, 6557, 9587, 5477, 9427

PROBLEM: ['7805', 'i', 'l', '8199', '9657', 'p', '737', '3759', 'b', '3687', 'r', '6663', 'U', '6931', 'Y', '6055', '1543', 'Y', '5599']

SOLUTION:
i, l, p, b, r, U, Y, Y, 7805, 8199, 9657, 737, 3759, 3687, 6663, 6931, 6055, 1543, 5599