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: ['b', '6111', 'R', '1477', '2285', '1439', 'q', 'J', 'y', 'a', 'A', 'R']

SOLUTION: b, R, q, J, y, a, A, R, 6111, 1477, 2285, 1439

PROBLEM: ['R', '7155', '8737', 'X', 'A', 'R', 'O', '1997', '7903', '7175', '901', 'B', 'd', 'C', 'h', 'R', 'q', '7523', 't', 'C', '1043', 'k', '9395', 'F', 'M', 'a']

SOLUTION: R, X, A, R, O, B, d, C, h, R, q, t, C, k, F, M, a, 7155, 8737, 1997, 7903, 7175, 901, 7523, 1043, 9395

PROBLEM: ['9963', 'a', '2525', '6207', '4813', '9', 'X', 'B', 'e', '9079', '5405', 'M', 'r', 'H', '9803', '5069', 'a', '6713', '1029', 'k', 'm']

SOLUTION:
a, X, B, e, M, r, H, a, k, m, 9963, 2525, 6207, 4813, 9, 9079, 5405, 9803, 5069, 6713, 1029