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: ['Z', '3699', 'b', '117', 'R', 'D', '6799']

SOLUTION: Z, b, R, D, 3699, 117, 6799

PROBLEM: ['3453', '8315', '3631', 'B', 'F', 'P', 'y', 'K', '5425', '1413', '1873', '7417', '7081', '1717', 'p']

SOLUTION:
B, F, P, y, K, p, 3453, 8315, 3631, 5425, 1413, 1873, 7417, 7081, 1717