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', '4645', 't', 'A', '5319', 'e', '9771', '9493', '3891', '3385', 'Y', '523', 'L', 'k', '4211', 'b', '2273', 'A', 'v', 'D', '6079', '823', 'c', '989', '3477', 'c', '8799', '7277', 'y', 'p', '2709']

SOLUTION: n, t, A, e, Y, L, k, b, A, v, D, c, c, y, p, 4645, 5319, 9771, 9493, 3891, 3385, 523, 4211, 2273, 6079, 823, 989, 3477, 8799, 7277, 2709

PROBLEM: ['G', 'G', '2545', 'c', '2661', '9995', '3151', 'o', '5479', '8223', 'z', '3977', '5659', '3137', '8157', 'o', 'x', 'q', 'E', 'R', 'Z', '3961', 'g', 's']

SOLUTION: G, G, c, o, z, o, x, q, E, R, Z, g, s, 2545, 2661, 9995, 3151, 5479, 8223, 3977, 5659, 3137, 8157, 3961

PROBLEM: ['4363', '3779', 'k', 'D', 't', 'T', 'N', 'T', '4617', '963', '7749', '193', 'Q', '4037', 'Y', 'e', '8253', '8973', '6153', '373', '6371', 'J', '61', 'r', '159', 'n', 'j', '2911', '8565', 'q', '3831', 'C']

SOLUTION:
k, D, t, T, N, T, Q, Y, e, J, r, n, j, q, C, 4363, 3779, 4617, 963, 7749, 193, 4037, 8253, 8973, 6153, 373, 6371, 61, 159, 2911, 8565, 3831