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: ['Q', '5883', '9595', '4847', '617', '631', 'F']

SOLUTION: Q, F, 5883, 9595, 4847, 617, 631

PROBLEM: ['9145', '6639', 'l', 'T', 's', 'X', '1485', '7971', 'P', '8157', 'E', '3797', 'c', '1981', 'j', 'j', '83', 's', '7441', 'J', 'z', 'q', 'n', '5063', 'U', 'D', '2213', 'c', '7307', 'C', 'x', 'K', 'W', 'K', '1671', '5895', 's', 'p', 'S']

SOLUTION: l, T, s, X, P, E, c, j, j, s, J, z, q, n, U, D, c, C, x, K, W, K, s, p, S, 9145, 6639, 1485, 7971, 8157, 3797, 1981, 83, 7441, 5063, 2213, 7307, 1671, 5895

PROBLEM: ['i', '2229', '1305', '1801', '1523', 'N', '213', 'Y', 'K', '1543', 'E', 'D', 'Y', '8843', '5283', 'F', 'q', 'Y', '7427', 's', 'V', 'd']

SOLUTION:
i, N, Y, K, E, D, Y, F, q, Y, s, V, d, 2229, 1305, 1801, 1523, 213, 1543, 8843, 5283, 7427