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', '157', 'F', 'a', 'y', 'r', 'R', 'v', '9255', 'R', '2983', '6891', 'y', 'J', '767', 'T', 'a', '2319', 'i', 'p', '9905', '4439', 'v', 'z', '2223', 'U', '93', 'z', '3697', '107', '5911']

SOLUTION: n, F, a, y, r, R, v, R, y, J, T, a, i, p, v, z, U, z, 157, 9255, 2983, 6891, 767, 2319, 9905, 4439, 2223, 93, 3697, 107, 5911

PROBLEM: ['4879', 't', '1833', 'D', '8501', 's', '2583', '8241', 'Q', '1847', 'a', '8409', '8837', '2521', '1961', 'C', '689', 'Y', 'g', 'c', '519', 'F']

SOLUTION: t, D, s, Q, a, C, Y, g, c, F, 4879, 1833, 8501, 2583, 8241, 1847, 8409, 8837, 2521, 1961, 689, 519

PROBLEM: ['8947', 'y', 'V', 'k']

SOLUTION:
y, V, k, 8947