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: ['v', 'r', '6313', 'P', '7093', 'p', '8823', '3887', '8647', 'h', 'g', 'r', 'F', 'k', '5047', '1175', '9101', 'Q', '669', '9053', 'X']

SOLUTION: v, r, P, p, h, g, r, F, k, Q, X, 6313, 7093, 8823, 3887, 8647, 5047, 1175, 9101, 669, 9053

PROBLEM: ['779', 'o', 'y', 'L', '6201', 'Y', 'k', '9881', '3343', 'x', 'Y', '2663', '5601', '2189', 'N', 'O', '3319', '6087', 'B', '6675', '5369', '9301', 'm', 'j', 'e', '8207', 'x', 'K', 'z', '9081', '6049', '209', 'y', '889', '5287']

SOLUTION: o, y, L, Y, k, x, Y, N, O, B, m, j, e, x, K, z, y, 779, 6201, 9881, 3343, 2663, 5601, 2189, 3319, 6087, 6675, 5369, 9301, 8207, 9081, 6049, 209, 889, 5287

PROBLEM: ['n', '9711', 'M', '4473', '7905', 'w', 'K', '9991', 'Z', 'i', '2181', '167', 'M', '1169', '3283', 'u', '6219', '5809', 'M', '6673', 'O', '1873', 'x', 'p', 'I', 'o', 'Z', '4857']

SOLUTION:
n, M, w, K, Z, i, M, u, M, O, x, p, I, o, Z, 9711, 4473, 7905, 9991, 2181, 167, 1169, 3283, 6219, 5809, 6673, 1873, 4857