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: ['2797', '8449', '8105', '6175', 'x']

SOLUTION: x, 2797, 8449, 8105, 6175

PROBLEM: ['9343', 'V', 'U', 'y', '9701', 'B', '4561', '6505', '4791', '5903', '9061', 'x', 'r', 'B', 'C', '6647', '7651', 'O', 'n', 'Z', '4545', '6603', 'k', '637', '7255', 'F', 'W', 'p', 'F', '2813', '1113', '9769', '9317', 'w']

SOLUTION: V, U, y, B, x, r, B, C, O, n, Z, k, F, W, p, F, w, 9343, 9701, 4561, 6505, 4791, 5903, 9061, 6647, 7651, 4545, 6603, 637, 7255, 2813, 1113, 9769, 9317

PROBLEM: ['q', '2513', 'f', '6867', 'Z', 'a', '6565', 'f', 'r', '8925', 'n', '5163', '2267', 'f', '5175', 'Y', 'y', '7549', 'C', '8103', 'W', 'j', 'p', '573', '6869', '5291', '4831', '4833']

SOLUTION:
q, f, Z, a, f, r, n, f, Y, y, C, W, j, p, 2513, 6867, 6565, 8925, 5163, 2267, 5175, 7549, 8103, 573, 6869, 5291, 4831, 4833