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', '5785', 'N', 'n', 'Q', '7145', '7247', 'w', '4877', '9477', 'z', 'i', 'T', 'D', '4815', 'd', 'X', 'V', '3411', 'a', 'J', 'v', '5259', 'C', 'z', 'w', '99', '2905', '2897', 'k', '6537', 's', 'q', 'W', '5537', 'K']

SOLUTION: M, N, n, Q, w, z, i, T, D, d, X, V, a, J, v, C, z, w, k, s, q, W, K, 5785, 7145, 7247, 4877, 9477, 4815, 3411, 5259, 99, 2905, 2897, 6537, 5537

PROBLEM: ['151', '6143', 'W', 'I', '435', 'b', '2677', 'v', 'x', '5309', '3449', '8025', 'j', 'A', '8625', '7941', 'N', '5947', 'J']

SOLUTION: W, I, b, v, x, j, A, N, J, 151, 6143, 435, 2677, 5309, 3449, 8025, 8625, 7941, 5947

PROBLEM: ['7985', '7311', '3449', '7683', '1941', 'S', 'L', 'i', '191', '7009', 'H', '8521', 'P', '1367', 'U', '8945', 'b', 'u', '3389', 'm', 'z', 'P', 'k']

SOLUTION:
S, L, i, H, P, U, b, u, m, z, P, k, 7985, 7311, 3449, 7683, 1941, 191, 7009, 8521, 1367, 8945, 3389