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: ['N', '975', '613', '1795', 'L', '6847', 'p', 'f', '9823', '6177', 'F', 'i']

SOLUTION: N, L, p, f, F, i, 975, 613, 1795, 6847, 9823, 6177

PROBLEM: ['1099', '8963', 'K', '9431', '6457', 'T', '2175', 'd', '6679', 'Y', '5003', 'M', '9273', 'M', 'D', '4781', 'z', 'C', '4579', '2231', '8291', '9123', 'E', '7209', 'U', '8237', '9277', '9443', 'e', '6145', '8827', 'M', 'q', '5363', 'H', '8781']

SOLUTION: K, T, d, Y, M, M, D, z, C, E, U, e, M, q, H, 1099, 8963, 9431, 6457, 2175, 6679, 5003, 9273, 4781, 4579, 2231, 8291, 9123, 7209, 8237, 9277, 9443, 6145, 8827, 5363, 8781

PROBLEM: ['5773', 'y', 'B', '4233', 'h', '1735', 'E', '7165', 'D', '1577', 'D', '2165', '4723', 'q', '7193', '1319', '7335', 'k', '7939', 'M', 'D', '2215', '9065', '6389', '4189', 'b']

SOLUTION:
y, B, h, E, D, D, q, k, M, D, b, 5773, 4233, 1735, 7165, 1577, 2165, 4723, 7193, 1319, 7335, 7939, 2215, 9065, 6389, 4189