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: ['E', 'u', 'Z', 'S', 'p', 'F', 'q']

SOLUTION: E, u, Z, S, p, F, q

PROBLEM: ['D', 'r', '4449', 'Z', '5365', '1', 'O', 'S', 'A', '9963', '3923', '7051', '8531', '2529', 'E', '1319', '6455', '593', 'N', 'M', 'O']

SOLUTION: D, r, Z, O, S, A, E, N, M, O, 4449, 5365, 1, 9963, 3923, 7051, 8531, 2529, 1319, 6455, 593

PROBLEM: ['f', '2283', 'N', 'Q', '8503', '8645', 'm', 't', 'N', 'c', '1627', '8271', '1151', 'E', 'm', '4553', 'p', '6115', 'x', 'A']

SOLUTION:
f, N, Q, m, t, N, c, E, m, p, x, A, 2283, 8503, 8645, 1627, 8271, 1151, 4553, 6115