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', 'm', 'o', '3729', 'd', 'r', 'V', 'X', 'J', '2701', '1567', '8189', 'Y', 'x', 'X', '7643', '8261', 'y', '7373', '9971', '3321', 'N', '5309', 'W', 'h']

SOLUTION: E, m, o, d, r, V, X, J, Y, x, X, y, N, W, h, 3729, 2701, 1567, 8189, 7643, 8261, 7373, 9971, 3321, 5309

PROBLEM: ['8927', '4495', 'H', '5399', 'K', 'i', '877', 'n', 'Y', '3979', '3817', 'm', 'i', 'u', 'j', 'X', '1849', '9491', '7567', 'P', 'L', 'B', '4095', '3985', '9199', '1137', '9221', '5751', 'r', 'r', '5223', '5441', '5837', '5569', '7149', 'A', 'n']

SOLUTION: H, K, i, n, Y, m, i, u, j, X, P, L, B, r, r, A, n, 8927, 4495, 5399, 877, 3979, 3817, 1849, 9491, 7567, 4095, 3985, 9199, 1137, 9221, 5751, 5223, 5441, 5837, 5569, 7149

PROBLEM: ['S', 'G', 'I', '7559', 'Z', 'd', 'R', 'I', 'A', 'X', 'O', 'r', 'd', '1415', 'n']

SOLUTION:
S, G, I, Z, d, R, I, A, X, O, r, d, n, 7559, 1415