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: ['7429', 'R', 'b', '2553', 'A', '8285', 'u', 'z', 'W', 'm', 'b', '4125', 'W', 'u', 'N', '5769', '2159', '7567', 'y', 'k', 'D', '5947', '1423']

SOLUTION: R, b, A, u, z, W, m, b, W, u, N, y, k, D, 7429, 2553, 8285, 4125, 5769, 2159, 7567, 5947, 1423

PROBLEM: ['s', '1883', '7171']

SOLUTION:
s, 1883, 7171