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: ['3523', 'W', '5715', '7517', 'q', '6405', '365', 'j', 'D', '983', 'P', 'D', 'X', 'A', 'v', 'a', '5091', 't', '7277', 'E', 'i', '2059', '4403', '1345', 'u', 'Y', '4341', '61', 'I', 'O']

SOLUTION: W, q, j, D, P, D, X, A, v, a, t, E, i, u, Y, I, O, 3523, 5715, 7517, 6405, 365, 983, 5091, 7277, 2059, 4403, 1345, 4341, 61

PROBLEM: ['W', 'K', '3915', '1635', 'T', '7043', 'Q', '8477', '417', '6741', '7495', '2617', '7333', '7111', 'i', 'r', '4311', 'V', 'B', '2073', 'C', 'R', 'U', 'A', '569', 'B', 'A', 's', '2875', '2147', '2277', 'e', 'I', '6023', '3305', '2133']

SOLUTION: W, K, T, Q, i, r, V, B, C, R, U, A, B, A, s, e, I, 3915, 1635, 7043, 8477, 417, 6741, 7495, 2617, 7333, 7111, 4311, 2073, 569, 2875, 2147, 2277, 6023, 3305, 2133

PROBLEM: ['A', '8141', 'O', 'w', 'H', '5419', 'z', '5609', 'P', 'Y', 'c', '5343', 'Y', '4715', '445', '2613', '9537', '2715', 'R', '2631', 'm', '7201', '5075', '3333', '8165', '9589', '3765', 'P', 'K', 'h', 'o', 'l', '1193', 'S', 'a', '3329', 'f']

SOLUTION:
A, O, w, H, z, P, Y, c, Y, R, m, P, K, h, o, l, S, a, f, 8141, 5419, 5609, 5343, 4715, 445, 2613, 9537, 2715, 2631, 7201, 5075, 3333, 8165, 9589, 3765, 1193, 3329