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: ['R', 'w', 'o']

SOLUTION: R, w, o

PROBLEM: ['4861', 'f', 'G', 'J', '3741', '8033', 'h', '6061', '4901', '3603', '4971']

SOLUTION: f, G, J, h, 4861, 3741, 8033, 6061, 4901, 3603, 4971

PROBLEM: ['2583', 'q', 'N', 'k', 'I', 'R', '7651', 'W', 'P']

SOLUTION:
q, N, k, I, R, W, P, 2583, 7651