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: ['661', '4531', '3329', 'c', '7131', 'n', 'J', '3925', '8073', 'O', '3171', '2057', 'W', 'k', 'a', 'v', '2749', '9649', 'w', 'Y', '4901']

SOLUTION: c, n, J, O, W, k, a, v, w, Y, 661, 4531, 3329, 7131, 3925, 8073, 3171, 2057, 2749, 9649, 4901

PROBLEM: ['2449', '8857', 'B', '859', 'z', '2077', 'u', '9231', 't', '8929', 'o', '509', '7399']

SOLUTION:
B, z, u, t, o, 2449, 8857, 859, 2077, 9231, 8929, 509, 7399