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: ['t', '5575', 'u', '1955', '7407', '4663', '6417', '1169', '1083', '5381', 'R', 'k', '3189', '5247', 'I', '5971', '447', 'i', '8045', '3265', '6705', '8707', 'Z', 'n', '1433', 'q']

SOLUTION: t, u, R, k, I, i, Z, n, q, 5575, 1955, 7407, 4663, 6417, 1169, 1083, 5381, 3189, 5247, 5971, 447, 8045, 3265, 6705, 8707, 1433

PROBLEM: ['6483', 'q']

SOLUTION: q, 6483

PROBLEM: ['8497', 'S', '5361']

SOLUTION:
S, 8497, 5361