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: ['W', '9329', 'X', '8909', 'L', '5185', 'L', 'K', 'c', 'L', '401', '5917', '931', '3857', 'c', '611', 'v', 'n', '9705', 'M', 'y', '5093', 'A', 's', '6925', 'a', 'P', '3349', '7439', '905', '217', 'r', '5797', 's', '5049', '5441', 'p']

SOLUTION: W, X, L, L, K, c, L, c, v, n, M, y, A, s, a, P, r, s, p, 9329, 8909, 5185, 401, 5917, 931, 3857, 611, 9705, 5093, 6925, 3349, 7439, 905, 217, 5797, 5049, 5441

PROBLEM: ['9731', 'W', '5347', '8895', 'Y', 'H', 'X', '207', 'a', '9737', 'q', 'q', '1717', 'Y', '2329', '427', '5513', '905', 'r', 'H', 'S', '5043', 'c', 'E', '7305', 'r', '2043', 'w']

SOLUTION: W, Y, H, X, a, q, q, Y, r, H, S, c, E, r, w, 9731, 5347, 8895, 207, 9737, 1717, 2329, 427, 5513, 905, 5043, 7305, 2043

PROBLEM: ['3079', 'p', 'a', 'a', '6893', '5637', '1175', 'T', '8069', 'm', '9279', '9941', 'Y', 'W', '7863', 'a', 'Q', '5205', '8047', '8551', 'H', 'y', 'w']

SOLUTION:
p, a, a, T, m, Y, W, a, Q, H, y, w, 3079, 6893, 5637, 1175, 8069, 9279, 9941, 7863, 5205, 8047, 8551