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: ['h', '997', 'A', 'p', 'y', 'B', '4121', '2701', 'i']

SOLUTION: h, A, p, y, B, i, 997, 4121, 2701

PROBLEM: ['f', 'F', '465', '9861', '9337', 'M', '589', 'L', 'N', 'g', 'A', '1475', '829', '4943', 'V']

SOLUTION: f, F, M, L, N, g, A, V, 465, 9861, 9337, 589, 1475, 829, 4943

PROBLEM: ['1199', '9491', 'y', 'U', 'Z', '1815', 'E', 'g', '4399', 'y', 'l', '8879', 'U', 'q', '8925', '363', 'y', 'X', 'u', 'N', '7565', '7389', '9255']

SOLUTION:
y, U, Z, E, g, y, l, U, q, y, X, u, N, 1199, 9491, 1815, 4399, 8879, 8925, 363, 7565, 7389, 9255