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: ['q', '8387']

SOLUTION: q, 8387

PROBLEM: ['7253', '3959', '1239', 'q', 't', 'V', 'w', 'i', '9103', '8139', 'a', 'c', '749', 'z', 'v', 'G', '8833', 'j', '2491', '4231', '5899', '7977', '7041', 'N', 'L', 'w', 'a', '9583', 'W', 'o', '5817', 'a', 'l', '9539', '5613', '5087', '2987']

SOLUTION:
q, t, V, w, i, a, c, z, v, G, j, N, L, w, a, W, o, a, l, 7253, 3959, 1239, 9103, 8139, 749, 8833, 2491, 4231, 5899, 7977, 7041, 9583, 5817, 9539, 5613, 5087, 2987