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: ['3061', 'M', '3839', 'q', '8167', 't', '7843', 'X', 'H', '5455', '5453', 'n', 'Q', 'G', 'c', 'J', '6119', 'i', '1957', '2635', 'n', '3189', '9591', '9559', '6021', 'Z', 'W', '7733', '4401', '7353', '6995', '771', 'G', 'v', 'z', 'v']

SOLUTION: M, q, t, X, H, n, Q, G, c, J, i, n, Z, W, G, v, z, v, 3061, 3839, 8167, 7843, 5455, 5453, 6119, 1957, 2635, 3189, 9591, 9559, 6021, 7733, 4401, 7353, 6995, 771

PROBLEM: ['7429', 'R', 'b', '2553', 'A', '8285', 'u', 'z', 'W', 'm', 'b', '4125', 'W', 'u', 'N', '5769', '2159', '7567', 'y', 'k', 'D', '5947', '1423']

SOLUTION: R, b, A, u, z, W, m, b, W, u, N, y, k, D, 7429, 2553, 8285, 4125, 5769, 2159, 7567, 5947, 1423

PROBLEM: ['9415', '4357', 'u', 'j', 'X', 'N']

SOLUTION:
u, j, X, N, 9415, 4357