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: ['S', '5685', 'i', '1185', '9975', '273', 'w', '5873', '665', 'v', 'l']

SOLUTION: S, i, w, v, l, 5685, 1185, 9975, 273, 5873, 665

PROBLEM: ['H', 'x', '959', 'J', 'p', '7515', '1861', '9627', '7409', '9055', '1595', 'h', 'i', 'F', '3911', 'G', 's', '2969', '5329', '3219', 'Q', 'k', 'r', 'l', 'o', 'F', '4987', '1231', 'V', '4403', 'Q', 's', 'B']

SOLUTION: H, x, J, p, h, i, F, G, s, Q, k, r, l, o, F, V, Q, s, B, 959, 7515, 1861, 9627, 7409, 9055, 1595, 3911, 2969, 5329, 3219, 4987, 1231, 4403

PROBLEM: ['7427', '2893', 'O', 'U', 'y', '5131', '1289', 'e', '8725', 'Y', '6761', 'N', 'w', '2749', '8833', 'Y', '1577', '3121', 'M']

SOLUTION:
O, U, y, e, Y, N, w, Y, M, 7427, 2893, 5131, 1289, 8725, 6761, 2749, 8833, 1577, 3121