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

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

PROBLEM: ['6647', 'U', '5687', 's', 'm', '1235', 'X', '5793', 'y', 'I', '2985', 'v', '5299', '9719', '7719', 'h', 'T', 'r', '6589', '7993', '1193', 'W', 'O', '2797', '9997', 'm', '2089', 'q', '65', '4091', 't', 'w', '9409', 'V', 'k', '7517', 'O', '7247']

SOLUTION:
U, s, m, X, y, I, v, h, T, r, W, O, m, q, t, w, V, k, O, 6647, 5687, 1235, 5793, 2985, 5299, 9719, 7719, 6589, 7993, 1193, 2797, 9997, 2089, 65, 4091, 9409, 7517, 7247