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: ['D', 'r', '4449', 'Z', '5365', '1', 'O', 'S', 'A', '9963', '3923', '7051', '8531', '2529', 'E', '1319', '6455', '593', 'N', 'M', 'O']

SOLUTION: D, r, Z, O, S, A, E, N, M, O, 4449, 5365, 1, 9963, 3923, 7051, 8531, 2529, 1319, 6455, 593

PROBLEM: ['p', 'h', '8605', 'd', '5185', 'B', 'C', '1331', 'r', '2355', '1035', '3547', '7761', '8951', 'T', '1981', 'v', 'a', 'w', 'H', 'e', '5075', 'h', 'o', '3765', '7729', 'Q', '9289', 'i', 'k', 'E', 'k', 'i', 'd', '4879', '821']

SOLUTION: p, h, d, B, C, r, T, v, a, w, H, e, h, o, Q, i, k, E, k, i, d, 8605, 5185, 1331, 2355, 1035, 3547, 7761, 8951, 1981, 5075, 3765, 7729, 9289, 4879, 821

PROBLEM: ['5411', 'f', '9247', 'Y', 'v', 'J', 'P', 'r', '8249', '9495', '9457', '3407', '4361', 'N', '9389', 'U', 'N', 'v', '2977', '8303', '6167', 'z', 'V', '2325', '9767']

SOLUTION:
f, Y, v, J, P, r, N, U, N, v, z, V, 5411, 9247, 8249, 9495, 9457, 3407, 4361, 9389, 2977, 8303, 6167, 2325, 9767