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: ['P', 'Q', 'x', 'w', 'V', 't', '8231', '4737', 'X', '5065', 'g', 'P', '9205', '8849', '8455', 's', '7269', 'F', 'Q', 'H', 'z', 'u', '7399', 'N', 'P', 'x', '4579', 'i', '6997', '9409', 'M', '8047', '2861']

SOLUTION: P, Q, x, w, V, t, X, g, P, s, F, Q, H, z, u, N, P, x, i, M, 8231, 4737, 5065, 9205, 8849, 8455, 7269, 7399, 4579, 6997, 9409, 8047, 2861

PROBLEM: ['i', '1565', '581', 'D', 'i', 'k', 'i', 'o', 'p', '1147', '4847', 'G', 'W', '6881', 'm', 'h', 'z', '3613', 's', 't', '7921', '4837']

SOLUTION: i, D, i, k, i, o, p, G, W, m, h, z, s, t, 1565, 581, 1147, 4847, 6881, 3613, 7921, 4837

PROBLEM: ['a', 'E']

SOLUTION:
a, E