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: ['5353', 'r', 'L', '6539', '6643', '3213', '3413', 'F', '9671']

SOLUTION: r, L, F, 5353, 6539, 6643, 3213, 3413, 9671

PROBLEM: ['L', 'w', 'n']

SOLUTION: L, w, n

PROBLEM: ['9043', 'A', '2583', 's', 'n', '1557', '8061', '1109', 'a', 'M', '1873', '3453', '1411', '3347', 'y', '19', '4709', '7781', 'l', 'M', '3771', '33', 'l', '4853', 'j', '5279', '2541', '1815', 'q', 'Q', 'l', 'S', 'P', '459', '6831', 'H', 't', 'H', 'i']

SOLUTION:
A, s, n, a, M, y, l, M, l, j, q, Q, l, S, P, H, t, H, i, 9043, 2583, 1557, 8061, 1109, 1873, 3453, 1411, 3347, 19, 4709, 7781, 3771, 33, 4853, 5279, 2541, 1815, 459, 6831