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: ['8003', '8073', 'B', '7411', '343', 'D', '1267', 'Z', '5607', '9855', '7531', 'r', '1823', '4457', 'l', '779', '7941', '8299', '1977', '4861', 'v', 'Y', 'l', 'p', '9579', '8353', 'E', '5859', '5731', '3899', 'q', 'e', '1609']

SOLUTION: B, D, Z, r, l, v, Y, l, p, E, q, e, 8003, 8073, 7411, 343, 1267, 5607, 9855, 7531, 1823, 4457, 779, 7941, 8299, 1977, 4861, 9579, 8353, 5859, 5731, 3899, 1609

PROBLEM: ['v', 'r', '4087', '7347', '5323', '7249', 'e', '4857', '7793']

SOLUTION: v, r, e, 4087, 7347, 5323, 7249, 4857, 7793

PROBLEM: ['1961', '1109', '8737', 'O', '145', 'A', 'J', 'v', 'A', '5969', 'j', '869', '9795', '1707', '2069', '8359', 'm', 'H', '8097', '3825', '557', 'G', '2551', 'C', 'Y', 'q', 'T', '6193', '7305', 'f', '5323', 's', '7229']

SOLUTION:
O, A, J, v, A, j, m, H, G, C, Y, q, T, f, s, 1961, 1109, 8737, 145, 5969, 869, 9795, 1707, 2069, 8359, 8097, 3825, 557, 2551, 6193, 7305, 5323, 7229